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.001304/0.001304, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001366/0.001366, allocations: 195.5 kB / 16.14 MB, free: 6.641 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.48/1.48, allocations: 222.9 MB / 239.8 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00262/0.00262, allocations: 294.7 kB / 290.2 MB, free: 2.172 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.781 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002726/0.002726, allocations: 102 kB / 0.6057 GB, free: 25.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1751, allocations: 89.15 MB / 0.6928 GB, free: 4.852 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.00318/0.1784, allocations: 1.756 MB / 0.6945 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008057/0.1792, allocations: 478.3 kB / 0.695 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.351e-05/0.1792, allocations: 7.938 kB / 0.695 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004292/0.1797, allocations: 147.3 kB / 0.6951 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.743e-05/0.1798, allocations: 59.73 kB / 0.6952 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.18, allocations: 35.89 kB / 0.6952 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002439/0.1802, allocations: 219.3 kB / 0.6954 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.527e-05/0.1803, allocations: 4 kB / 0.6954 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.65e-05/0.1804, allocations: 31.8 kB / 0.6954 GB, free: 2.121 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.1805, allocations: 63.75 kB / 0.6955 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.1805, allocations: 3.938 kB / 0.6955 GB, free: 2.055 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/0.1807, allocations: 79.91 kB / 0.6956 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.846e-05/0.1808, allocations: 55.81 kB / 0.6956 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.858e-05/0.1809, allocations: 67.53 kB / 0.6957 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.1812, allocations: 179.6 kB / 0.6959 GB, free: 1.68 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.1812, allocations: 0 / 0.6959 GB, free: 1.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1812, allocations: 3.938 kB / 0.6959 GB, free: 1.676 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1812, allocations: 0 / 0.6959 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.0006942/0.1819, allocations: 482.3 kB / 0.6963 GB, free: 1.156 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.1819, allocations: 11.97 kB / 0.6964 GB, free: 1.145 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.182, allocations: 20.66 kB / 0.6964 GB, free: 1.125 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.1822, allocations: 219.7 kB / 0.6966 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.1822, allocations: 384 / 0.6966 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.1822, allocations: 384 / 0.6966 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.1824, allocations: 58.17 kB / 0.6966 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1825, allocations: 7.938 kB / 0.6966 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1825, allocations: 0 / 0.6966 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1825, allocations: 3.984 kB / 0.6966 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.1827, allocations: 39.97 kB / 0.6967 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000496/0.1832, allocations: 312.9 kB / 0.697 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.1833, allocations: 50.48 kB / 0.697 GB, free: 352 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.69e-05/0.1835, allocations: 20.91 kB / 0.6971 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.68e-05/0.1835, allocations: 7.938 kB / 0.6971 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.1835, allocations: 38.56 kB / 0.6971 GB, free: 272 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1835, allocations: 0 / 0.6971 GB, free: 272 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004051/0.1839, allocations: 109.4 kB / 0.6972 GB, free: 156 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.184, allocations: 51.41 kB / 0.6973 GB, free: 92 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.1843, allocations: 254.7 kB / 0.6975 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.1843, allocations: 33.83 kB / 0.6975 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.1844, allocations: 128.1 kB / 0.6976 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.1844, allocations: 11.84 kB / 0.6977 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.1845, allocations: 9.719 kB / 0.6977 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1846, allocations: 334.8 kB / 0.698 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.1847, allocations: 19.98 kB / 0.698 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.786e-05/0.1848, allocations: 27.84 kB / 0.698 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.185, allocations: 48.89 kB / 0.6981 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.185, allocations: 3.938 kB / 0.6981 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002275/0.1853, allocations: 89.38 kB / 0.6982 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1853, allocations: 4 kB / 0.6982 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1853, allocations: 0 / 0.6982 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1853, allocations: 7.969 kB / 0.6982 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.1854, allocations: 11.98 kB / 0.6982 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1854, allocations: 0 / 0.6982 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.029e-05/0.1855, allocations: 7.984 kB / 0.6982 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.1855, allocations: 0 / 0.6982 GB, free: 15.08 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.0001349/0.1857, allocations: 145.7 kB / 0.6983 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.1857, allocations: 15.81 kB / 0.6984 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002874/0.186, allocations: 98.52 kB / 0.6984 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.186, allocations: 3.984 kB / 0.6985 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.186, allocations: 0 / 0.6985 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.186, allocations: 0 / 0.6985 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.1863, allocations: 209.6 kB / 0.6987 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1863, allocations: 0 / 0.6987 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.516e-05/0.1864, allocations: 11.98 kB / 0.6987 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.1864, allocations: 0 / 0.6987 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.1864, allocations: 0 / 0.6987 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1864, allocations: 4.031 kB / 0.6987 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1864, allocations: 0 / 0.6987 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.1867, allocations: 199.1 kB / 0.6989 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.802e-05/0.1868, allocations: 88.92 kB / 0.6989 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.1868, allocations: 3.984 kB / 0.6989 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.569e-05/0.1869, allocations: 8 kB / 0.699 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.1869, allocations: 8.016 kB / 0.699 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.1869, allocations: 0 / 0.699 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001834/0.1871, allocations: 190 kB / 0.6991 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1871, allocations: 0 / 0.6991 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002621/0.1874, allocations: 31.98 kB / 0.6992 GB, free: 13.98 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.0002093/0.1876, allocations: 123.2 kB / 0.6993 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002461/0.1879, allocations: 47.97 kB / 0.6993 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1879, allocations: 3.938 kB / 0.6993 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.979e-05/0.188, allocations: 19.97 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.0004507/0.1884, allocations: 50.88 kB / 0.6994 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005978/0.189, allocations: 364 kB / 0.6998 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.1895, allocations: 0.7355 MB / 0.7005 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.563e-05/0.1895, allocations: 4 kB / 0.7005 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.054e-05/0.1895, allocations: 15.38 kB / 0.7005 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1895, allocations: 0 / 0.7005 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of Templates: time 0.004858/0.1944, allocations: 1.655 MB / 0.7021 GB, free: 10.96 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)