Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001456/0.001456, allocations: 192 kB / 16.14 MB, free: 6.734 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.324/1.324, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002124/0.002124, allocations: 286.4 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9661/0.9661, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 94.75 kB / 0.5945 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1522, allocations: 86.99 MB / 0.6794 GB, free: 1.191 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002126/0.1544, allocations: 1.32 MB / 0.6807 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002715/0.1547, allocations: 123.5 kB / 0.6809 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.361e-05/0.1547, allocations: 3.25 kB / 0.6809 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.423e-05/0.1547, allocations: 3.938 kB / 0.6809 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.952e-05/0.1548, allocations: 3.938 kB / 0.6809 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001426/0.1549, allocations: 23.91 kB / 0.6809 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.128e-05/0.155, allocations: 15.94 kB / 0.6809 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.011e-05/0.155, allocations: 7.984 kB / 0.6809 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.724e-05/0.1551, allocations: 4.688 kB / 0.6809 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.726e-05/0.1551, allocations: 11.92 kB / 0.6809 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.1551, allocations: 0.875 kB / 0.6809 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.1552, allocations: 56.66 kB / 0.681 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.107e-06/0.1553, allocations: 0 / 0.681 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.004e-05/0.1553, allocations: 4 kB / 0.681 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.805e-05/0.1554, allocations: 45.39 kB / 0.681 GB, free: 15.57 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1554, allocations: 0 / 0.681 GB, free: 15.57 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.1554, allocations: 0 / 0.681 GB, free: 15.57 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.1554, allocations: 8 kB / 0.681 GB, free: 15.57 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003405/0.1558, allocations: 319.6 kB / 0.6813 GB, free: 15.21 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.1558, allocations: 8.031 kB / 0.6813 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.757e-05/0.1558, allocations: 4.938 kB / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.156, allocations: 172.3 kB / 0.6815 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.156, allocations: 384 / 0.6815 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.308e-06/0.156, allocations: 384 / 0.6815 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.635e-05/0.1561, allocations: 37.77 kB / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.1561, allocations: 4 kB / 0.6816 GB, free: 14.94 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.1561, allocations: 0 / 0.6816 GB, free: 14.94 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.1561, allocations: 0 / 0.6816 GB, free: 14.94 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.693e-05/0.1561, allocations: 7.984 kB / 0.6816 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.1563, allocations: 153.7 kB / 0.6817 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.696e-05/0.1563, allocations: 30.59 kB / 0.6817 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.65e-05/0.1564, allocations: 4.859 kB / 0.6817 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006531/0.157, allocations: 0.6052 MB / 0.6823 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.157, allocations: 42.42 kB / 0.6824 GB, free: 13.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.1571, allocations: 0 / 0.6824 GB, free: 13.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001239/0.1572, allocations: 41.7 kB / 0.6824 GB, free: 13.86 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/0.1572, allocations: 51.41 kB / 0.6825 GB, free: 13.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.942e-05/0.1573, allocations: 105.8 kB / 0.6826 GB, free: 13.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.1573, allocations: 25.7 kB / 0.6826 GB, free: 13.65 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.152e-05/0.1573, allocations: 84.27 kB / 0.6827 GB, free: 13.56 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.1574, allocations: 7.844 kB / 0.6827 GB, free: 13.55 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/0.1574, allocations: 13.72 kB / 0.6827 GB, free: 13.54 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.025e-05/0.1575, allocations: 314.8 kB / 0.683 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.216e-05/0.1575, allocations: 4 kB / 0.683 GB, free: 13.21 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.277e-06/0.1575, allocations: 3.938 kB / 0.683 GB, free: 13.21 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.047e-05/0.1576, allocations: 20.84 kB / 0.683 GB, free: 13.19 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1576, allocations: 4.062 kB / 0.683 GB, free: 13.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.175e-05/0.1576, allocations: 37.83 kB / 0.6831 GB, free: 13.14 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.1576, allocations: 4 kB / 0.6831 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.1577, allocations: 0 / 0.6831 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.1577, allocations: 0 / 0.6831 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.358e-05/0.1577, allocations: 7.984 kB / 0.6831 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.1577, allocations: 0 / 0.6831 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.776e-05/0.1577, allocations: 3.938 kB / 0.6831 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.1578, allocations: 7.984 kB / 0.6831 GB, free: 13.12 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 5.987e-05/0.1578, allocations: 119.1 kB / 0.6832 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-06/0.1578, allocations: 3.938 kB / 0.6832 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.108e-05/0.1579, allocations: 44.81 kB / 0.6832 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1579, allocations: 4 kB / 0.6832 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1579, allocations: 4 kB / 0.6832 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1579, allocations: 0 / 0.6832 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.928e-05/0.158, allocations: 145.7 kB / 0.6834 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.158, allocations: 3.984 kB / 0.6834 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.25e-05/0.1581, allocations: 3.938 kB / 0.6834 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1581, allocations: 4.031 kB / 0.6834 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.1581, allocations: 4 kB / 0.6834 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1581, allocations: 0 / 0.6834 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1581, allocations: 0 / 0.6834 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.551e-05/0.1582, allocations: 68.97 kB / 0.6835 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.291e-05/0.1582, allocations: 89.05 kB / 0.6836 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.988e-06/0.1582, allocations: 0 / 0.6836 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.691e-05/0.1583, allocations: 0 / 0.6836 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.032e-05/0.1583, allocations: 4.031 kB / 0.6836 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.1583, allocations: 3.938 kB / 0.6836 GB, free: 12.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.829e-05/0.1583, allocations: 79.28 kB / 0.6836 GB, free: 12.45 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1583, allocations: 0 / 0.6836 GB, free: 12.45 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001944/0.1585, allocations: 19.98 kB / 0.6837 GB, free: 12.43 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 (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.0001361/0.1587, allocations: 111.2 kB / 0.6838 GB, free: 12.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.884e-05/0.1587, allocations: 11.98 kB / 0.6838 GB, free: 12.29 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.1587, allocations: 4.062 kB / 0.6838 GB, free: 12.29 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.14e-05/0.1588, allocations: 7.938 kB / 0.6838 GB, free: 12.28 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.159, allocations: 7.938 kB / 0.6838 GB, free: 12.27 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002164/0.1592, allocations: 111.8 kB / 0.6839 GB, free: 12.14 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/0.1594, allocations: 0.6692 MB / 0.6846 GB, free: 11.44 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.949e-05/0.1594, allocations: 16.03 kB / 0.6846 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.188e-05/0.1595, allocations: 7.438 kB / 0.6846 GB, free: 11.42 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1595, allocations: 0 / 0.6846 GB, free: 11.42 MB / 494.1 MB Notification: Performance of Templates: time 0.002308/0.1618, allocations: 0.5835 MB / 0.6851 GB, free: 10.84 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)