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.001915/0.001915, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002159/0.002159, allocations: 196.1 kB / 16.14 MB, free: 6.73 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.423/1.423, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002589/0.002589, allocations: 286.8 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.096/1.096, allocations: 178.6 MB / 0.5068 GB, free: 4.766 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0028/0.0028, allocations: 97.98 kB / 0.6057 GB, free: 25.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1707, allocations: 89.15 MB / 0.6928 GB, free: 4.832 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.003115/0.1739, allocations: 1.779 MB / 0.6945 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.1754, allocations: 1.13 MB / 0.6956 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.83e-05/0.1755, allocations: 1.75 kB / 0.6956 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004114/0.1759, allocations: 151.2 kB / 0.6958 GB, free: 1.773 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.586e-05/0.176, allocations: 51.8 kB / 0.6958 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.1763, allocations: 123.6 kB / 0.6959 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002338/0.1766, allocations: 216 kB / 0.6961 GB, free: 1.391 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.214e-05/0.1766, allocations: 8 kB / 0.6962 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.083e-05/0.1767, allocations: 39.84 kB / 0.6962 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.1768, allocations: 63.77 kB / 0.6963 GB, free: 1.281 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.1768, allocations: 0 / 0.6963 GB, free: 1.281 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003753/0.1772, allocations: 223.5 kB / 0.6965 GB, free: 1.062 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.965e-05/0.1773, allocations: 67.8 kB / 0.6965 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.648e-05/0.1774, allocations: 59.56 kB / 0.6966 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004106/0.1778, allocations: 311.3 kB / 0.6969 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.279e-06/0.1778, allocations: 0 / 0.6969 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1779, allocations: 0 / 0.6969 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1779, allocations: 4 kB / 0.6969 GB, free: 0.6289 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.0006437/0.1785, allocations: 0.4982 MB / 0.6974 GB, free: 84 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.1786, allocations: 8.031 kB / 0.6974 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.477e-05/0.1786, allocations: 16.75 kB / 0.6974 GB, free: 60 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.1788, allocations: 219.7 kB / 0.6976 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.1788, allocations: 384 / 0.6976 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-06/0.1788, allocations: 384 / 0.6976 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.1791, allocations: 93.72 kB / 0.6977 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.1791, allocations: 0 / 0.6977 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1791, allocations: 0 / 0.6977 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.1791, allocations: 4 kB / 0.6977 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002332/0.1793, allocations: 99.92 kB / 0.6978 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005534/0.1799, allocations: 372.8 kB / 0.6982 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.1801, allocations: 102.5 kB / 0.6983 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.1802, allocations: 52.89 kB / 0.6983 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.867e-05/0.1803, allocations: 35.91 kB / 0.6983 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.1803, allocations: 30.56 kB / 0.6984 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1803, allocations: 0 / 0.6984 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004683/0.1808, allocations: 197.3 kB / 0.6986 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.1808, allocations: 51.41 kB / 0.6986 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.1811, allocations: 258.7 kB / 0.6988 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.1811, allocations: 25.7 kB / 0.6989 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.919e-05/0.1812, allocations: 136.1 kB / 0.699 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.1813, allocations: 3.906 kB / 0.699 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.1813, allocations: 21.84 kB / 0.699 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1815, allocations: 342.6 kB / 0.6994 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.1816, allocations: 43.97 kB / 0.6994 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.1817, allocations: 47.97 kB / 0.6994 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/0.1819, allocations: 96.8 kB / 0.6995 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1819, allocations: 4.062 kB / 0.6995 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002856/0.1822, allocations: 149.4 kB / 0.6997 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.1822, allocations: 8 kB / 0.6997 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.1823, allocations: 0 / 0.6997 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1823, allocations: 0 / 0.6997 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.105e-05/0.1824, allocations: 11.98 kB / 0.6997 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1824, allocations: 3.938 kB / 0.6997 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.847e-05/0.1825, allocations: 8.031 kB / 0.6997 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.1825, allocations: 3.984 kB / 0.6997 GB, free: 13.52 MB / 0.4981 GB 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.0001177/0.1826, allocations: 137.8 kB / 0.6998 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.1826, allocations: 19.72 kB / 0.6999 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000355/0.183, allocations: 162.5 kB / 0.7 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.183, allocations: 0 / 0.7 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.183, allocations: 0 / 0.7 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.183, allocations: 4 kB / 0.7 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.1833, allocations: 245.5 kB / 0.7003 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1833, allocations: 0 / 0.7003 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.86e-05/0.1834, allocations: 11.98 kB / 0.7003 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1834, allocations: 0 / 0.7003 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1834, allocations: 0 / 0.7003 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.1834, allocations: 4 kB / 0.7003 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1834, allocations: 3.938 kB / 0.7003 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/0.1838, allocations: 251.1 kB / 0.7005 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.468e-05/0.1838, allocations: 96.92 kB / 0.7006 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.1839, allocations: 0 / 0.7006 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.963e-05/0.184, allocations: 7.984 kB / 0.7006 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.689e-05/0.184, allocations: 0 / 0.7006 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.184, allocations: 4 kB / 0.7006 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001765/0.1842, allocations: 193.9 kB / 0.7008 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1842, allocations: 4 kB / 0.7008 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003161/0.1845, allocations: 67.94 kB / 0.7009 GB, free: 12.23 MB / 0.4981 GB 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.0002797/0.1848, allocations: 179.1 kB / 0.701 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000289/0.1851, allocations: 103.9 kB / 0.7011 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1851, allocations: 0 / 0.7011 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.1853, allocations: 51.97 kB / 0.7012 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004514/0.1857, allocations: 52.45 kB / 0.7012 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005863/0.1863, allocations: 380.2 kB / 0.7016 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.1867, allocations: 0.7472 MB / 0.7023 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.36e-05/0.1868, allocations: 16.16 kB / 0.7024 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.1868, allocations: 11.44 kB / 0.7024 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1868, allocations: 0 / 0.7024 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of Templates: time 0.005682/0.1925, allocations: 2.24 MB / 0.7045 GB, free: 8.434 MB / 0.4981 GB 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)