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.001101/0.001101, allocations: 116.2 kB / 16.42 MB, free: 6.496 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.001113/0.001113, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.376/1.376, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002087/0.002087, allocations: 291.7 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.972/0.972, allocations: 169.3 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002/0.002001, allocations: 95.84 kB / 0.6821 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.469/0.471, allocations: 86.98 MB / 0.767 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002485/0.4736, allocations: 1.254 MB / 0.7683 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003082/0.4739, allocations: 123.5 kB / 0.7684 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.07e-05/0.4739, allocations: 0 / 0.7684 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.731e-05/0.474, allocations: 4 kB / 0.7684 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.492e-05/0.4741, allocations: 3.938 kB / 0.7684 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.4743, allocations: 39.88 kB / 0.7684 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.69e-05/0.4744, allocations: 19.92 kB / 0.7685 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.621e-05/0.4745, allocations: 4 kB / 0.7685 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.853e-05/0.4745, allocations: 7.938 kB / 0.7685 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.765e-05/0.4746, allocations: 0 / 0.7685 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.4746, allocations: 0 / 0.7685 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.4748, allocations: 63.88 kB / 0.7685 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.4748, allocations: 0 / 0.7685 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.874e-05/0.4748, allocations: 3.938 kB / 0.7685 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.475, allocations: 47.58 kB / 0.7686 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.475, allocations: 0 / 0.7686 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.322e-06/0.475, allocations: 0 / 0.7686 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.888e-06/0.475, allocations: 0 / 0.7686 GB, free: 2.293 MB / 0.5294 GB 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.0004266/0.4755, allocations: 327.6 kB / 0.7689 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.4755, allocations: 8.031 kB / 0.7689 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.4756, allocations: 8.844 kB / 0.7689 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.4757, allocations: 168.3 kB / 0.7691 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.4757, allocations: 8.375 kB / 0.7691 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.4758, allocations: 384 / 0.7691 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.973e-05/0.4759, allocations: 41.61 kB / 0.7691 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.4759, allocations: 0 / 0.7691 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.4759, allocations: 0 / 0.7691 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.4759, allocations: 0 / 0.7691 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.254e-05/0.4759, allocations: 4 kB / 0.7691 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002053/0.4762, allocations: 157.7 kB / 0.7693 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.492e-05/0.4762, allocations: 22.52 kB / 0.7693 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.567e-05/0.4763, allocations: 12.92 kB / 0.7693 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007484/0.477, allocations: 0.6012 MB / 0.7699 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.4771, allocations: 38.55 kB / 0.7699 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.4771, allocations: 4 kB / 0.7699 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.000165/0.4772, allocations: 37.7 kB / 0.77 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.4773, allocations: 51.41 kB / 0.77 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.954e-05/0.4774, allocations: 101.8 kB / 0.7701 GB, free: 412 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.4774, allocations: 25.7 kB / 0.7701 GB, free: 380 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.563e-05/0.4774, allocations: 84.14 kB / 0.7702 GB, free: 292 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.4775, allocations: 10.38 kB / 0.7702 GB, free: 284 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.4775, allocations: 9.719 kB / 0.7702 GB, free: 268 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.4776, allocations: 323 kB / 0.7705 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.302e-05/0.4777, allocations: 0 / 0.7705 GB, free: 15.94 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.096e-05/0.4777, allocations: 4 kB / 0.7705 GB, free: 15.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.89e-05/0.4777, allocations: 20.84 kB / 0.7706 GB, free: 15.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4777, allocations: 0 / 0.7706 GB, free: 15.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.823e-05/0.4778, allocations: 37.64 kB / 0.7706 GB, free: 15.87 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.4778, allocations: 8 kB / 0.7706 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.4778, allocations: 0 / 0.7706 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.4779, allocations: 4.094 kB / 0.7706 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.402e-05/0.4779, allocations: 7.938 kB / 0.7706 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.4779, allocations: 0 / 0.7706 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.181e-05/0.478, allocations: 7.938 kB / 0.7706 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.478, allocations: 3.984 kB / 0.7706 GB, free: 15.84 MB / 0.545 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 7.363e-05/0.478, allocations: 112.2 kB / 0.7707 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.4781, allocations: 15.78 kB / 0.7708 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.514e-05/0.4782, allocations: 44.81 kB / 0.7708 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4782, allocations: 4.031 kB / 0.7708 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4782, allocations: 0 / 0.7708 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.158e-05/0.4782, allocations: 77.11 kB / 0.7709 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.4783, allocations: 4 kB / 0.7709 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.768e-05/0.4783, allocations: 0 / 0.7709 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.209e-05/0.4783, allocations: 0 / 0.7709 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001047/0.4784, allocations: 124.8 kB / 0.771 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001513/0.4786, allocations: 206.9 kB / 0.7712 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.156e-05/0.4786, allocations: 7.984 kB / 0.7712 GB, free: 15.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.507e-05/0.4786, allocations: 79.28 kB / 0.7713 GB, free: 15.12 MB / 0.545 GB Notification: Performance of Backend: time 5.01e-07/0.4786, allocations: 0 / 0.7713 GB, free: 15.12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000411/0.4791, allocations: 105.1 kB / 0.7714 GB, free: 15.01 MB / 0.545 GB Notification: Performance of SimCode: time 0.0005985/0.4797, allocations: 0.5539 MB / 0.7719 GB, free: 14.41 MB / 0.545 GB Notification: Performance of Templates: time 0.002996/0.4827, allocations: 0.6633 MB / 0.7726 GB, free: 13.75 MB / 0.545 GB 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)