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.007321/0.007327, allocations: 100.8 kB / 15.73 MB, free: 6.012 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.001737/0.001738, allocations: 187.7 kB / 16.67 MB, free: 5.949 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002099/0.002099, allocations: 290 kB / 290.8 MB, free: 1.922 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.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 95.94 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1735, allocations: 86.97 MB / 0.7659 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003359/0.1769, allocations: 2.12 MB / 0.768 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001779/0.1787, allocations: 1.029 MB / 0.769 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001749/0.1789, allocations: 4 kB / 0.769 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.667e-05/0.179, allocations: 27.61 kB / 0.769 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003543/0.1794, allocations: 91.2 kB / 0.7691 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004973/0.1799, allocations: 191.2 kB / 0.7693 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003752/0.1803, allocations: 294.8 kB / 0.7696 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.1805, allocations: 72.69 kB / 0.7696 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.1807, allocations: 107.5 kB / 0.7697 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002622/0.1809, allocations: 143.4 kB / 0.7699 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.022e-05/0.181, allocations: 16 kB / 0.7699 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004248/0.1814, allocations: 291.7 kB / 0.7702 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.103e-05/0.1815, allocations: 51.77 kB / 0.7702 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.1816, allocations: 123.3 kB / 0.7703 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004214/0.182, allocations: 326.8 kB / 0.7706 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.182, allocations: 4 kB / 0.7707 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.134e-06/0.182, allocations: 0 / 0.7707 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.1821, allocations: 0 / 0.7707 GB, free: 4.047 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.001124/0.1832, allocations: 0.631 MB / 0.7713 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.1832, allocations: 8.031 kB / 0.7713 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.484e-05/0.1833, allocations: 46.73 kB / 0.7713 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002211/0.1835, allocations: 40.5 kB / 0.7714 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004204/0.184, allocations: 291.5 kB / 0.7716 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.184, allocations: 8.656 kB / 0.7716 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.184, allocations: 16.38 kB / 0.7717 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005066/0.1845, allocations: 232.7 kB / 0.7719 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.1845, allocations: 0 / 0.7719 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.1846, allocations: 4 kB / 0.7719 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1846, allocations: 4 kB / 0.7719 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006126/0.1852, allocations: 203.7 kB / 0.7721 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.1863, allocations: 0.9385 MB / 0.773 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007517/0.1871, allocations: 241.2 kB / 0.7732 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003053/0.1874, allocations: 105.6 kB / 0.7733 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.1875, allocations: 4 kB / 0.7733 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.1875, allocations: 42.44 kB / 0.7734 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.1875, allocations: 0 / 0.7734 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.001092/0.1886, allocations: 349.3 kB / 0.7737 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.1886, allocations: 77.11 kB / 0.7738 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.1889, allocations: 267 kB / 0.774 GB, free: 336 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.1889, allocations: 29.7 kB / 0.7741 GB, free: 300 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.189, allocations: 160.2 kB / 0.7742 GB, free: 136 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/0.1891, allocations: 55.19 kB / 0.7743 GB, free: 80 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.886e-05/0.1892, allocations: 41.7 kB / 0.7743 GB, free: 32 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.316/0.5052, allocations: 329.8 kB / 0.7746 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004103/0.5056, allocations: 92.81 kB / 0.7747 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003483/0.506, allocations: 136.9 kB / 0.7748 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006433/0.5066, allocations: 237.2 kB / 0.7751 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.5067, allocations: 0.8125 kB / 0.7751 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008814/0.5075, allocations: 297.4 kB / 0.7754 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.5076, allocations: 7.016 kB / 0.7754 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.5076, allocations: 2.125 kB / 0.7754 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.5076, allocations: 4.297 kB / 0.7754 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003085/0.5079, allocations: 63.97 kB / 0.7754 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.508, allocations: 7 kB / 0.7754 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002399/0.5082, allocations: 42.36 kB / 0.7755 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.5082, allocations: 10.09 kB / 0.7755 GB, free: 14.48 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.0001067/0.5083, allocations: 130.7 kB / 0.7756 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.5085, allocations: 28.41 kB / 0.7756 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007877/0.5092, allocations: 291.4 kB / 0.7759 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.5093, allocations: 2.312 kB / 0.7759 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.5093, allocations: 7.828 kB / 0.7759 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5093, allocations: 0.7031 kB / 0.7759 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003391/0.5096, allocations: 292.7 kB / 0.7762 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5096, allocations: 1 kB / 0.7762 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.5099, allocations: 53.23 kB / 0.7763 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.5099, allocations: 5.625 kB / 0.7763 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.5099, allocations: 5.312 kB / 0.7763 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.5099, allocations: 6 kB / 0.7763 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.5099, allocations: 5.031 kB / 0.7763 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007579/0.5107, allocations: 438.7 kB / 0.7767 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.064e-05/0.5108, allocations: 109 kB / 0.7768 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/0.5108, allocations: 3.141 kB / 0.7768 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.5111, allocations: 27.3 kB / 0.7768 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.653e-05/0.5112, allocations: 25.44 kB / 0.7769 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.5112, allocations: 4.953 kB / 0.7769 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001634/0.5113, allocations: 192.7 kB / 0.777 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5113, allocations: 0 / 0.777 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003494/0.5117, allocations: 63.52 kB / 0.7771 GB, free: 13.71 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.0009821/0.5127, allocations: 0.9904 MB / 0.7781 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006982/0.5134, allocations: 228.7 kB / 0.7783 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.5134, allocations: 0 / 0.7783 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003306/0.5137, allocations: 113.6 kB / 0.7784 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000543/0.5143, allocations: 83.12 kB / 0.7785 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003512/0.5178, allocations: 2.693 MB / 0.7811 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.518, allocations: 0.7475 MB / 0.7818 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001421/0.5181, allocations: 32.03 kB / 0.7819 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.5183, allocations: 89.33 kB / 0.782 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of SimCode: time 5.71e-07/0.5183, allocations: 0 / 0.782 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0249/0.5432, allocations: 6.723 MB / 0.7885 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.773/8.316, allocations: 3.938 kB / 0.7885 GB, free: 9.828 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)