Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 109 kB / 16.42 MB, free: 6.52 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.001619/0.001619, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.301/1.301, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002187/0.002187, allocations: 286.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9342/0.9342, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 107.8 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4536/0.4555, allocations: 86.98 MB / 0.7671 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002882/0.4584, allocations: 2.108 MB / 0.7691 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001433/0.4599, allocations: 1.041 MB / 0.7701 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.552e-05/0.46, allocations: 0 / 0.7701 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.425e-05/0.46, allocations: 27.67 kB / 0.7702 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.4603, allocations: 83.22 kB / 0.7703 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003747/0.4607, allocations: 187.6 kB / 0.7704 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002794/0.461, allocations: 294.7 kB / 0.7707 GB, free: 356 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.4611, allocations: 68.5 kB / 0.7708 GB, free: 292 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.4613, allocations: 119.4 kB / 0.7709 GB, free: 172 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002065/0.4615, allocations: 139.4 kB / 0.771 GB, free: 32 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.512e-05/0.4615, allocations: 16 kB / 0.771 GB, free: 16 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004224/0.462, allocations: 299.6 kB / 0.7713 GB, free: 15.72 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.746e-05/0.462, allocations: 43.83 kB / 0.7714 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.455e-05/0.4621, allocations: 127.2 kB / 0.7715 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003536/0.4625, allocations: 333.4 kB / 0.7718 GB, free: 15.23 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.4625, allocations: 0 / 0.7718 GB, free: 15.23 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4625, allocations: 0 / 0.7718 GB, free: 15.23 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.4625, allocations: 4 kB / 0.7718 GB, free: 15.23 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001041/0.4635, allocations: 0.6193 MB / 0.7724 GB, free: 14.56 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.4636, allocations: 8.031 kB / 0.7724 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/0.4638, allocations: 40.55 kB / 0.7725 GB, free: 14.51 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.4642, allocations: 291.5 kB / 0.7727 GB, free: 14.19 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.4642, allocations: 16.66 kB / 0.7728 GB, free: 14.17 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.4642, allocations: 12.38 kB / 0.7728 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005325/0.4648, allocations: 232.9 kB / 0.773 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.4648, allocations: 0 / 0.773 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.4648, allocations: 8 kB / 0.773 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.4648, allocations: 4 kB / 0.773 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000676/0.4655, allocations: 207.7 kB / 0.7732 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.4666, allocations: 0.9306 MB / 0.7741 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007807/0.4674, allocations: 249.2 kB / 0.7743 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003409/0.4677, allocations: 105.6 kB / 0.7744 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.4678, allocations: 4.25 kB / 0.7745 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.4678, allocations: 38.5 kB / 0.7745 GB, free: 12.27 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.853e-06/0.4678, allocations: 0 / 0.7745 GB, free: 12.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.001214/0.469, allocations: 337.1 kB / 0.7748 GB, free: 11.94 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.4691, allocations: 81.11 kB / 0.7749 GB, free: 11.84 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.4693, allocations: 266.9 kB / 0.7751 GB, free: 11.58 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.4694, allocations: 29.7 kB / 0.7752 GB, free: 11.54 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.932e-05/0.4695, allocations: 168.1 kB / 0.7753 GB, free: 11.38 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.734e-05/0.4695, allocations: 51.27 kB / 0.7754 GB, free: 11.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.687e-05/0.4696, allocations: 37.7 kB / 0.7754 GB, free: 11.28 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.4697, allocations: 338.8 kB / 0.7757 GB, free: 10.94 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003371/0.4701, allocations: 91.84 kB / 0.7758 GB, free: 10.85 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003499/0.4704, allocations: 141.8 kB / 0.776 GB, free: 10.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006771/0.4711, allocations: 249.7 kB / 0.7762 GB, free: 10.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4711, allocations: 0 / 0.7762 GB, free: 10.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008386/0.472, allocations: 297 kB / 0.7765 GB, free: 10.13 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.472, allocations: 4 kB / 0.7765 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.472, allocations: 4 kB / 0.7765 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.472, allocations: 0 / 0.7765 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/0.4723, allocations: 67.88 kB / 0.7766 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.4723, allocations: 4 kB / 0.7766 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/0.4726, allocations: 39.84 kB / 0.7766 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.4726, allocations: 12 kB / 0.7766 GB, free: 10 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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.0001167/0.4727, allocations: 129.8 kB / 0.7767 GB, free: 9.867 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.4728, allocations: 31.59 kB / 0.7768 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008274/0.4737, allocations: 287.9 kB / 0.777 GB, free: 9.547 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.4737, allocations: 3.984 kB / 0.777 GB, free: 9.543 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4737, allocations: 4 kB / 0.777 GB, free: 9.539 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.787e-05/0.4738, allocations: 100.7 kB / 0.7771 GB, free: 9.422 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.4738, allocations: 4 kB / 0.7771 GB, free: 9.418 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002701/0.4741, allocations: 31.95 kB / 0.7772 GB, free: 9.387 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.474e-05/0.4741, allocations: 20.2 kB / 0.7772 GB, free: 9.367 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000933/0.4751, allocations: 435.8 kB / 0.7776 GB, free: 8.934 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008663/0.476, allocations: 0.5054 MB / 0.7781 GB, free: 8.41 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003682/0.4763, allocations: 111.9 kB / 0.7782 GB, free: 8.301 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001613/0.4765, allocations: 190 kB / 0.7784 GB, free: 8.117 MB / 0.545 GB Notification: Performance of Backend: time 4.51e-07/0.4765, allocations: 0 / 0.7784 GB, free: 8.117 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009981/0.4775, allocations: 258.3 kB / 0.7786 GB, free: 7.859 MB / 0.545 GB Notification: Performance of SimCode: time 0.0009251/0.4785, allocations: 0.876 MB / 0.7795 GB, free: 6.93 MB / 0.545 GB Notification: Performance of Templates: time 0.00797/0.4864, allocations: 4.861 MB / 0.7842 GB, free: 2.133 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)