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: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 188.9 kB / 16.67 MB, free: 6.539 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002554/0.002554, allocations: 275 kB / 290.8 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9697/0.9697, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002799/0.002799, allocations: 95.95 kB / 0.681 GB, free: 15.94 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1527, allocations: 86.97 MB / 0.7659 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003279/0.156, allocations: 2.118 MB / 0.768 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001699/0.1577, allocations: 1.041 MB / 0.769 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.1579, allocations: 3.938 kB / 0.769 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.394e-05/0.158, allocations: 31.61 kB / 0.769 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002975/0.1583, allocations: 79.28 kB / 0.7691 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004658/0.1587, allocations: 199.5 kB / 0.7693 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003528/0.1591, allocations: 286.8 kB / 0.7696 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.1593, allocations: 72.89 kB / 0.7696 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.1594, allocations: 107.6 kB / 0.7697 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.1597, allocations: 143.3 kB / 0.7699 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.879e-05/0.1597, allocations: 20 kB / 0.7699 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004281/0.1602, allocations: 299.7 kB / 0.7702 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.686e-05/0.1602, allocations: 47.77 kB / 0.7702 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.1603, allocations: 115.3 kB / 0.7703 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004402/0.1608, allocations: 334.5 kB / 0.7706 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1608, allocations: 3.938 kB / 0.7707 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1608, allocations: 0 / 0.7707 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.1608, allocations: 4 kB / 0.7707 GB, free: 4 MB / 0.5606 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.001107/0.1619, allocations: 0.6346 MB / 0.7713 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.162, allocations: 12.03 kB / 0.7713 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.139e-05/0.162, allocations: 42.75 kB / 0.7713 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002094/0.1622, allocations: 40.73 kB / 0.7714 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004015/0.1626, allocations: 283.7 kB / 0.7716 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.1627, allocations: 12.66 kB / 0.7716 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.1627, allocations: 20.38 kB / 0.7717 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005049/0.1632, allocations: 224.8 kB / 0.7719 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.1632, allocations: 7.938 kB / 0.7719 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.1633, allocations: 8 kB / 0.7719 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.1633, allocations: 4 kB / 0.7719 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006154/0.1639, allocations: 195.8 kB / 0.7721 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.1651, allocations: 0.9345 MB / 0.773 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007571/0.1659, allocations: 245.2 kB / 0.7732 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003165/0.1662, allocations: 105.9 kB / 0.7733 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.1662, allocations: 7.984 kB / 0.7733 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.1663, allocations: 42.5 kB / 0.7734 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.253e-06/0.1663, allocations: 0 / 0.7734 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.001079/0.1673, allocations: 341.2 kB / 0.7737 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.1674, allocations: 81.11 kB / 0.7738 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.1677, allocations: 263 kB / 0.774 GB, free: 292 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.1677, allocations: 29.69 kB / 0.7741 GB, free: 256 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.1678, allocations: 160.3 kB / 0.7742 GB, free: 92 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.586e-05/0.1679, allocations: 59.47 kB / 0.7743 GB, free: 32 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2805/0.4484, allocations: 44.31 kB / 0.7743 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.069e-05/0.4486, allocations: 336.4 kB / 0.7746 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003894/0.449, allocations: 90.98 kB / 0.7747 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003372/0.4493, allocations: 144.3 kB / 0.7749 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006302/0.4499, allocations: 234.8 kB / 0.7751 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.45, allocations: 1.656 kB / 0.7751 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008464/0.4508, allocations: 295.9 kB / 0.7754 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.4508, allocations: 5.344 kB / 0.7754 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.4508, allocations: 2.703 kB / 0.7754 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.4509, allocations: 3.562 kB / 0.7754 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.4512, allocations: 66.81 kB / 0.7754 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/0.4512, allocations: 8.016 kB / 0.7755 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/0.4515, allocations: 36.91 kB / 0.7755 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.4515, allocations: 7.094 kB / 0.7755 GB, free: 14.41 MB / 0.5606 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.0001051/0.4516, allocations: 133.8 kB / 0.7756 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.4517, allocations: 25.64 kB / 0.7756 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007793/0.4525, allocations: 295.5 kB / 0.7759 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.4525, allocations: 2.734 kB / 0.7759 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.4525, allocations: 5.906 kB / 0.7759 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.4525, allocations: 1.828 kB / 0.7759 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003923/0.4529, allocations: 292.5 kB / 0.7762 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.453, allocations: 0 / 0.7762 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/0.4532, allocations: 57.39 kB / 0.7763 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.4532, allocations: 1.688 kB / 0.7763 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.4533, allocations: 5.266 kB / 0.7763 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.4533, allocations: 5.156 kB / 0.7763 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.4533, allocations: 5.281 kB / 0.7763 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000753/0.454, allocations: 447.9 kB / 0.7767 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.913e-05/0.4541, allocations: 106.5 kB / 0.7768 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.4541, allocations: 4.156 kB / 0.7768 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002939/0.4544, allocations: 28.2 kB / 0.7768 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.857e-05/0.4545, allocations: 21.28 kB / 0.7769 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.4545, allocations: 10.91 kB / 0.7769 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001821/0.4547, allocations: 189.2 kB / 0.7771 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4547, allocations: 0 / 0.7771 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000481/0.4552, allocations: 54.48 kB / 0.7771 GB, free: 13.64 MB / 0.5606 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.001019/0.4562, allocations: 0.991 MB / 0.7781 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006918/0.4569, allocations: 233.1 kB / 0.7783 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.4569, allocations: 480 / 0.7783 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003126/0.4573, allocations: 122.1 kB / 0.7784 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006254/0.4579, allocations: 78.52 kB / 0.7785 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003714/0.4616, allocations: 2.705 MB / 0.7811 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.4618, allocations: 0.7482 MB / 0.7819 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001452/0.4619, allocations: 35.84 kB / 0.7819 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.4621, allocations: 83.22 kB / 0.782 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of SimCode: time 2.01e-07/0.4621, allocations: 0 / 0.782 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4491/0.9112, allocations: 6.589 MB / 0.7884 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.046/8.957, allocations: 7.875 kB / 0.7884 GB, free: 9.742 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)