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.001493/0.001493, allocations: 102.7 kB / 16.4 MB, free: 5.977 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.001667/0.001668, allocations: 190.8 kB / 17.34 MB, free: 5.586 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 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002388/0.002388, allocations: 295.6 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9759/0.9759, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 103.8 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4412/0.4433, allocations: 86.98 MB / 0.7671 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003243/0.4466, allocations: 2.116 MB / 0.7691 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001737/0.4484, allocations: 1.033 MB / 0.7701 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.4486, allocations: 3.938 kB / 0.7701 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.779e-05/0.4486, allocations: 23.67 kB / 0.7702 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003541/0.449, allocations: 87.28 kB / 0.7702 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004745/0.4495, allocations: 195.5 kB / 0.7704 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003521/0.4499, allocations: 290.8 kB / 0.7707 GB, free: 300 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.4501, allocations: 72.47 kB / 0.7708 GB, free: 232 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.4502, allocations: 111.5 kB / 0.7709 GB, free: 120 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002503/0.4505, allocations: 139.3 kB / 0.771 GB, free: 15.98 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.625e-05/0.4505, allocations: 20 kB / 0.771 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004407/0.451, allocations: 299.6 kB / 0.7713 GB, free: 15.67 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.714e-05/0.451, allocations: 43.83 kB / 0.7714 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.4512, allocations: 123.3 kB / 0.7715 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004101/0.4516, allocations: 329.4 kB / 0.7718 GB, free: 15.18 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.4516, allocations: 0 / 0.7718 GB, free: 15.18 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.985e-06/0.4516, allocations: 0 / 0.7718 GB, free: 15.18 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.4516, allocations: 3.938 kB / 0.7718 GB, free: 15.18 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.001126/0.4527, allocations: 0.631 MB / 0.7724 GB, free: 14.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.4528, allocations: 8.031 kB / 0.7724 GB, free: 14.49 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002365/0.453, allocations: 40.55 kB / 0.7725 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004199/0.4535, allocations: 283.5 kB / 0.7727 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.4535, allocations: 12.66 kB / 0.7727 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.4535, allocations: 12.38 kB / 0.7728 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005674/0.4541, allocations: 229 kB / 0.773 GB, free: 13.87 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.4541, allocations: 7.938 kB / 0.773 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.4541, allocations: 4 kB / 0.773 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.4542, allocations: 4 kB / 0.773 GB, free: 13.85 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000672/0.4548, allocations: 203.8 kB / 0.7732 GB, free: 13.65 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.456, allocations: 0.9384 MB / 0.7741 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007805/0.4568, allocations: 241.3 kB / 0.7743 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000337/0.4572, allocations: 109.8 kB / 0.7744 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.4572, allocations: 7.938 kB / 0.7744 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.4572, allocations: 34.56 kB / 0.7745 GB, free: 12.23 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 2.234e-06/0.4572, allocations: 0 / 0.7745 GB, free: 12.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.001226/0.4585, allocations: 341.6 kB / 0.7748 GB, free: 11.89 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.4585, allocations: 81.11 kB / 0.7749 GB, free: 11.79 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.4588, allocations: 266.9 kB / 0.7751 GB, free: 11.53 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.4588, allocations: 29.7 kB / 0.7752 GB, free: 11.49 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.851e-05/0.4589, allocations: 164.1 kB / 0.7753 GB, free: 11.33 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.459, allocations: 47.27 kB / 0.7754 GB, free: 11.28 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.871e-05/0.459, allocations: 41.7 kB / 0.7754 GB, free: 11.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.4592, allocations: 334.8 kB / 0.7757 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003387/0.4595, allocations: 95.91 kB / 0.7758 GB, free: 10.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003587/0.4599, allocations: 142.9 kB / 0.7759 GB, free: 10.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006718/0.4606, allocations: 241.7 kB / 0.7762 GB, free: 10.39 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4606, allocations: 3.938 kB / 0.7762 GB, free: 10.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008695/0.4614, allocations: 297 kB / 0.7765 GB, free: 10.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.4615, allocations: 4 kB / 0.7765 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.4615, allocations: 4 kB / 0.7765 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.4615, allocations: 4 kB / 0.7765 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003151/0.4618, allocations: 59.88 kB / 0.7765 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.4618, allocations: 4.125 kB / 0.7765 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/0.4621, allocations: 47.72 kB / 0.7766 GB, free: 9.965 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.4621, allocations: 8 kB / 0.7766 GB, free: 9.957 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.000124/0.4623, allocations: 140.1 kB / 0.7767 GB, free: 9.812 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.4624, allocations: 27.66 kB / 0.7767 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008582/0.4633, allocations: 295.1 kB / 0.777 GB, free: 9.488 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.4633, allocations: 4 kB / 0.777 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4633, allocations: 0 / 0.777 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4633, allocations: 0 / 0.777 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003794/0.4637, allocations: 297.7 kB / 0.7773 GB, free: 9.145 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.4637, allocations: 3.938 kB / 0.7773 GB, free: 9.141 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.464, allocations: 47.95 kB / 0.7774 GB, free: 9.094 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.464, allocations: 7.938 kB / 0.7774 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.464, allocations: 4 kB / 0.7774 GB, free: 9.082 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.464, allocations: 7.922 kB / 0.7774 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.464, allocations: 4 kB / 0.7774 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008524/0.4649, allocations: 430.3 kB / 0.7778 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-05/0.465, allocations: 108.6 kB / 0.7779 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.972e-05/0.465, allocations: 7.984 kB / 0.7779 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002849/0.4653, allocations: 31.97 kB / 0.7779 GB, free: 8.469 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.713e-05/0.4654, allocations: 19.97 kB / 0.778 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.4654, allocations: 4 kB / 0.778 GB, free: 8.445 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001752/0.4656, allocations: 190 kB / 0.7781 GB, free: 8.262 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4656, allocations: 3.938 kB / 0.7781 GB, free: 8.258 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003996/0.466, allocations: 55.94 kB / 0.7782 GB, free: 8.203 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0001923/0.4662, allocations: 115.5 kB / 0.7783 GB, free: 8.082 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007965/0.467, allocations: 223.9 kB / 0.7785 GB, free: 7.863 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.467, allocations: 4.062 kB / 0.7785 GB, free: 7.859 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003675/0.4674, allocations: 119.8 kB / 0.7786 GB, free: 7.742 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005731/0.468, allocations: 89.45 kB / 0.7787 GB, free: 7.652 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008085/0.4688, allocations: 456.5 kB / 0.7792 GB, free: 7.172 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.4691, allocations: 0.7558 MB / 0.7799 GB, free: 6.391 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.605e-05/0.4692, allocations: 27.44 kB / 0.7799 GB, free: 6.363 MB / 0.545 GB Notification: Performance of SimCode: time 6.31e-07/0.4692, allocations: 0 / 0.7799 GB, free: 6.363 MB / 0.545 GB Notification: Performance of Templates: time 0.006048/0.4753, allocations: 3.477 MB / 0.7833 GB, free: 2.926 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)