Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.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.myPhiMoist,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001288/0.001288, allocations: 199.2 kB / 16.26 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.44/1.44, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002782/0.002782, allocations: 290.5 kB / 290.4 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.09/1.09, allocations: 178.6 MB / 0.5069 GB, free: 4.754 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002817/0.002817, allocations: 96.09 kB / 0.6059 GB, free: 25.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1727, allocations: 89.16 MB / 0.693 GB, free: 4.754 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.002961/0.1757, allocations: 1.763 MB / 0.6947 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007213/0.1764, allocations: 465.7 kB / 0.6951 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.047e-05/0.1765, allocations: 0 / 0.6951 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004207/0.1769, allocations: 147.3 kB / 0.6953 GB, free: 2.387 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.789e-05/0.177, allocations: 51.73 kB / 0.6953 GB, free: 2.336 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.1772, allocations: 51.88 kB / 0.6954 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.1774, allocations: 107.5 kB / 0.6955 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.492e-05/0.1774, allocations: 8 kB / 0.6955 GB, free: 2.172 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.034e-05/0.1775, allocations: 31.84 kB / 0.6955 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.1776, allocations: 71.69 kB / 0.6956 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.1776, allocations: 0 / 0.6956 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.1778, allocations: 91.78 kB / 0.6957 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.691e-05/0.1779, allocations: 51.86 kB / 0.6957 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.01e-05/0.178, allocations: 67.55 kB / 0.6958 GB, free: 1.863 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.1782, allocations: 183.6 kB / 0.696 GB, free: 1.684 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1783, allocations: 3.938 kB / 0.696 GB, free: 1.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1783, allocations: 4 kB / 0.696 GB, free: 1.676 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.1783, allocations: 0 / 0.696 GB, free: 1.676 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.0006318/0.1789, allocations: 482.2 kB / 0.6964 GB, free: 1.156 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.179, allocations: 8.031 kB / 0.6964 GB, free: 1.148 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.179, allocations: 20.66 kB / 0.6965 GB, free: 1.129 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.1792, allocations: 215.7 kB / 0.6967 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.1792, allocations: 384 / 0.6967 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.1792, allocations: 384 / 0.6967 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.1794, allocations: 58.23 kB / 0.6967 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.1794, allocations: 3.938 kB / 0.6967 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.1795, allocations: 0 / 0.6967 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.1795, allocations: 4 kB / 0.6967 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.1796, allocations: 39.95 kB / 0.6968 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005147/0.1802, allocations: 312.9 kB / 0.6971 GB, free: 424 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.1803, allocations: 54.47 kB / 0.6971 GB, free: 360 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.133e-05/0.1804, allocations: 24.91 kB / 0.6971 GB, free: 332 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.42e-05/0.1805, allocations: 7.984 kB / 0.6971 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.1805, allocations: 30.56 kB / 0.6972 GB, free: 284 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.816e-06/0.1805, allocations: 4 kB / 0.6972 GB, free: 280 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003626/0.1809, allocations: 109.4 kB / 0.6973 GB, free: 164 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.1809, allocations: 55.41 kB / 0.6973 GB, free: 96 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000273/0.1812, allocations: 254.7 kB / 0.6976 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.1812, allocations: 25.7 kB / 0.6976 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.051e-05/0.1813, allocations: 128.1 kB / 0.6977 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.1813, allocations: 19.95 kB / 0.6977 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.1814, allocations: 13.72 kB / 0.6978 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1815, allocations: 330.8 kB / 0.6981 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.79e-05/0.1816, allocations: 23.97 kB / 0.6981 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.359e-05/0.1817, allocations: 15.98 kB / 0.6981 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.1819, allocations: 48.88 kB / 0.6982 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1819, allocations: 3.938 kB / 0.6982 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002247/0.1821, allocations: 97.31 kB / 0.6983 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.1821, allocations: 5.406 kB / 0.6983 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.1822, allocations: 3.938 kB / 0.6983 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.1822, allocations: 0 / 0.6983 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.58e-05/0.1823, allocations: 11.98 kB / 0.6983 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1823, allocations: 0 / 0.6983 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.179e-05/0.1823, allocations: 11.97 kB / 0.6983 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.1824, allocations: 0 / 0.6983 GB, free: 15.09 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.0001173/0.1825, allocations: 141.8 kB / 0.6984 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.1825, allocations: 15.81 kB / 0.6984 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002638/0.1828, allocations: 98.45 kB / 0.6985 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1828, allocations: 0 / 0.6985 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.1828, allocations: 4.031 kB / 0.6985 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1828, allocations: 0 / 0.6985 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.183, allocations: 209.5 kB / 0.6987 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1831, allocations: 0 / 0.6987 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.802e-05/0.1831, allocations: 8 kB / 0.6987 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1831, allocations: 0 / 0.6987 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.1831, allocations: 0 / 0.6987 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1831, allocations: 0 / 0.6987 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1831, allocations: 3.984 kB / 0.6987 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.1834, allocations: 195.2 kB / 0.6989 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.984e-05/0.1835, allocations: 92.92 kB / 0.699 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.1835, allocations: 0 / 0.699 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.71e-05/0.1836, allocations: 11.98 kB / 0.699 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.1837, allocations: 7.938 kB / 0.699 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.1837, allocations: 0 / 0.699 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001978/0.1839, allocations: 198 kB / 0.6992 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1839, allocations: 0 / 0.6992 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002591/0.1841, allocations: 32 kB / 0.6993 GB, free: 13.99 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 (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 Backend phase and start with SimCode phase: time 0.0001879/0.1843, allocations: 123.2 kB / 0.6994 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002169/0.1846, allocations: 43.95 kB / 0.6994 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1846, allocations: 0 / 0.6994 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.61e-05/0.1847, allocations: 24.05 kB / 0.6994 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.1851, allocations: 55.14 kB / 0.6995 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005637/0.1857, allocations: 358.3 kB / 0.6998 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.1861, allocations: 0.7391 MB / 0.7006 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.923e-05/0.1861, allocations: 4 kB / 0.7006 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.974e-05/0.1861, allocations: 7.438 kB / 0.7006 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1861, allocations: 0 / 0.7006 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of Templates: time 0.004769/0.1909, allocations: 1.718 MB / 0.7022 GB, free: 10.91 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1)