Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001165, allocations: 193 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002004/0.002004, allocations: 286.8 kB / 290.4 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9521/0.9521, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002445/0.002445, allocations: 89.44 kB / 0.5947 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1764, allocations: 86.98 MB / 0.6796 GB, free: 1.035 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.002888/0.1793, allocations: 1.771 MB / 0.6814 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.1808, allocations: 1.107 MB / 0.6824 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.182e-05/0.1809, allocations: 4 kB / 0.6824 GB, free: 14.15 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004047/0.1813, allocations: 143.8 kB / 0.6826 GB, free: 14.01 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.07e-05/0.1814, allocations: 51.73 kB / 0.6826 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004331/0.1819, allocations: 139.6 kB / 0.6828 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.182, allocations: 111.5 kB / 0.6829 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.105e-05/0.1821, allocations: 15.92 kB / 0.6829 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.604e-05/0.1822, allocations: 43.78 kB / 0.6829 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.1823, allocations: 63.81 kB / 0.683 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.1823, allocations: 11.92 kB / 0.683 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003423/0.1827, allocations: 215.6 kB / 0.6832 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.408e-05/0.1828, allocations: 55.8 kB / 0.6833 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.941e-05/0.1828, allocations: 67.55 kB / 0.6833 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003875/0.1832, allocations: 299.2 kB / 0.6836 GB, free: 12.96 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.1832, allocations: 0 / 0.6836 GB, free: 12.96 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1832, allocations: 0 / 0.6836 GB, free: 12.96 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1833, allocations: 0 / 0.6836 GB, free: 12.96 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005956/0.1839, allocations: 0.502 MB / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.1839, allocations: 12.03 kB / 0.6841 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.1839, allocations: 20.66 kB / 0.6841 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.1842, allocations: 223.6 kB / 0.6843 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1842, allocations: 4.375 kB / 0.6843 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.1842, allocations: 384 / 0.6843 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.1844, allocations: 89.77 kB / 0.6844 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.1844, allocations: 4 kB / 0.6844 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.1844, allocations: 0 / 0.6844 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.1844, allocations: 0 / 0.6844 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002051/0.1847, allocations: 95.94 kB / 0.6845 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004823/0.1851, allocations: 372.8 kB / 0.6849 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.1853, allocations: 110.5 kB / 0.685 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.1854, allocations: 52.89 kB / 0.685 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.691e-05/0.1855, allocations: 27.92 kB / 0.6851 GB, free: 11.31 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.1855, allocations: 38.56 kB / 0.6851 GB, free: 11.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1855, allocations: 0 / 0.6851 GB, free: 11.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004271/0.186, allocations: 197.2 kB / 0.6853 GB, free: 11.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.186, allocations: 55.41 kB / 0.6853 GB, free: 11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.1862, allocations: 258.7 kB / 0.6856 GB, free: 10.74 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.1863, allocations: 25.7 kB / 0.6856 GB, free: 10.71 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.172e-05/0.1863, allocations: 128.1 kB / 0.6857 GB, free: 10.58 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.1864, allocations: 7.906 kB / 0.6857 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/0.1864, allocations: 21.7 kB / 0.6858 GB, free: 10.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1865, allocations: 334.9 kB / 0.6861 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.1867, allocations: 43.97 kB / 0.6861 GB, free: 10.17 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.1868, allocations: 51.95 kB / 0.6862 GB, free: 10.12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.187, allocations: 96.8 kB / 0.6863 GB, free: 10.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.187, allocations: 0 / 0.6863 GB, free: 10.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002622/0.1872, allocations: 149.5 kB / 0.6864 GB, free: 9.867 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1873, allocations: 7.984 kB / 0.6864 GB, free: 9.859 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1873, allocations: 4 kB / 0.6864 GB, free: 9.855 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.1873, allocations: 3.938 kB / 0.6864 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.87e-05/0.1874, allocations: 4 kB / 0.6864 GB, free: 9.848 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.1874, allocations: 4 kB / 0.6864 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.417e-05/0.1875, allocations: 3.984 kB / 0.6864 GB, free: 9.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.1875, allocations: 4.031 kB / 0.6864 GB, free: 9.836 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.1876, allocations: 143.1 kB / 0.6866 GB, free: 9.688 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.822e-05/0.1877, allocations: 19.72 kB / 0.6866 GB, free: 9.668 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003519/0.188, allocations: 162.4 kB / 0.6867 GB, free: 9.496 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.188, allocations: 4 kB / 0.6867 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.188, allocations: 3.938 kB / 0.6868 GB, free: 9.488 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1881, allocations: 3.984 kB / 0.6868 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.1883, allocations: 245.5 kB / 0.687 GB, free: 9.195 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1883, allocations: 0 / 0.687 GB, free: 9.195 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.441e-05/0.1884, allocations: 11.98 kB / 0.687 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.1884, allocations: 0 / 0.687 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.1884, allocations: 0 / 0.687 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1884, allocations: 0 / 0.687 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.1884, allocations: 4 kB / 0.687 GB, free: 9.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.1888, allocations: 243.2 kB / 0.6872 GB, free: 8.926 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6e-05/0.1888, allocations: 92.83 kB / 0.6873 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.1889, allocations: 15.98 kB / 0.6873 GB, free: 8.801 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.948e-05/0.189, allocations: 4 kB / 0.6873 GB, free: 8.797 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.189, allocations: 3.984 kB / 0.6873 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.189, allocations: 0 / 0.6873 GB, free: 8.793 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001803/0.1892, allocations: 193.9 kB / 0.6875 GB, free: 8.609 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1892, allocations: 3.938 kB / 0.6875 GB, free: 8.605 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003439/0.1896, allocations: 75.92 kB / 0.6876 GB, free: 8.531 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003185/0.1899, allocations: 167.2 kB / 0.6878 GB, free: 8.359 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002918/0.1902, allocations: 103.9 kB / 0.6879 GB, free: 8.258 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1902, allocations: 4 kB / 0.6879 GB, free: 8.254 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.1903, allocations: 51.97 kB / 0.6879 GB, free: 8.203 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005203/0.1909, allocations: 44.52 kB / 0.688 GB, free: 8.16 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006674/0.1915, allocations: 398.4 kB / 0.6883 GB, free: 7.746 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.1919, allocations: 0.7391 MB / 0.6891 GB, free: 6.98 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.03e-05/0.192, allocations: 8 kB / 0.6891 GB, free: 6.973 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.695e-05/0.192, allocations: 11.44 kB / 0.6891 GB, free: 6.961 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.192, allocations: 0 / 0.6891 GB, free: 6.961 MB / 494.1 MB Notification: Performance of Templates: time 0.005356/0.1974, allocations: 2.287 MB / 0.6913 GB, free: 4.711 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1)