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.005071/0.005071, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001164/0.001164, allocations: 193.3 kB / 16.67 MB, free: 5.977 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002048/0.002048, allocations: 286.5 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9009/0.9009, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 96.89 kB / 0.681 GB, free: 0 / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1578, allocations: 86.98 MB / 0.7659 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002905/0.1607, allocations: 2.111 MB / 0.768 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.1622, allocations: 1.045 MB / 0.769 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.1623, allocations: 3.938 kB / 0.769 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.709e-05/0.1624, allocations: 23.67 kB / 0.769 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002907/0.1627, allocations: 87.22 kB / 0.7691 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003887/0.1631, allocations: 191.8 kB / 0.7693 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002974/0.1634, allocations: 290.8 kB / 0.7696 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001743/0.1636, allocations: 68.69 kB / 0.7696 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.1637, allocations: 111.5 kB / 0.7697 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.1639, allocations: 143.4 kB / 0.7699 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.835e-05/0.164, allocations: 20 kB / 0.7699 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003849/0.1644, allocations: 295.6 kB / 0.7702 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.25e-05/0.1644, allocations: 43.78 kB / 0.7702 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.1645, allocations: 119.3 kB / 0.7703 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000352/0.1649, allocations: 334.8 kB / 0.7706 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1649, allocations: 4 kB / 0.7707 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1649, allocations: 0 / 0.7707 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.1649, allocations: 0 / 0.7707 GB, free: 4.066 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.001039/0.166, allocations: 0.6232 MB / 0.7713 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.166, allocations: 12.03 kB / 0.7713 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.411e-05/0.1661, allocations: 46.73 kB / 0.7713 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.1662, allocations: 40.55 kB / 0.7714 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.1666, allocations: 287.5 kB / 0.7716 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.1666, allocations: 12.66 kB / 0.7716 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.1666, allocations: 12.38 kB / 0.7717 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004997/0.1671, allocations: 232.7 kB / 0.7719 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1672, allocations: 7.938 kB / 0.7719 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.1672, allocations: 4 kB / 0.7719 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.1672, allocations: 4 kB / 0.7719 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006258/0.1678, allocations: 199.8 kB / 0.7721 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.1689, allocations: 0.9384 MB / 0.773 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007289/0.1696, allocations: 241.2 kB / 0.7732 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003227/0.1699, allocations: 113.6 kB / 0.7733 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.17, allocations: 7.938 kB / 0.7733 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.17, allocations: 38.5 kB / 0.7734 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.17, allocations: 0 / 0.7734 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.001092/0.1711, allocations: 333.4 kB / 0.7737 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.1712, allocations: 85.05 kB / 0.7738 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.1714, allocations: 267 kB / 0.774 GB, free: 360 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.1715, allocations: 29.7 kB / 0.7741 GB, free: 324 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.372e-05/0.1716, allocations: 156.2 kB / 0.7742 GB, free: 164 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.1716, allocations: 59.19 kB / 0.7743 GB, free: 104 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.499e-05/0.1717, allocations: 37.7 kB / 0.7743 GB, free: 60 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.3283/0.4999, allocations: 338.8 kB / 0.7746 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004122/0.5004, allocations: 84.2 kB / 0.7747 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000352/0.5007, allocations: 142.2 kB / 0.7748 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006762/0.5014, allocations: 241.8 kB / 0.7751 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.5014, allocations: 0.5625 kB / 0.7751 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008924/0.5023, allocations: 294.8 kB / 0.7754 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.5024, allocations: 5.625 kB / 0.7754 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.5024, allocations: 2.734 kB / 0.7754 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.5024, allocations: 3.094 kB / 0.7754 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/0.5027, allocations: 67.11 kB / 0.7754 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.5027, allocations: 8.406 kB / 0.7754 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.503, allocations: 37.19 kB / 0.7755 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.503, allocations: 8.062 kB / 0.7755 GB, free: 14.5 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 9.771e-05/0.5031, allocations: 137.4 kB / 0.7756 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.5032, allocations: 25.81 kB / 0.7756 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000813/0.504, allocations: 287.1 kB / 0.7759 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.504, allocations: 3.25 kB / 0.7759 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.5041, allocations: 6.984 kB / 0.7759 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.5041, allocations: 2.078 kB / 0.7759 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003296/0.5044, allocations: 294.5 kB / 0.7762 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5044, allocations: 0 / 0.7762 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.5047, allocations: 55.39 kB / 0.7763 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.5047, allocations: 5.328 kB / 0.7763 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.5047, allocations: 5.438 kB / 0.7763 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.5047, allocations: 1.766 kB / 0.7763 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.5047, allocations: 9.188 kB / 0.7763 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007797/0.5055, allocations: 438.2 kB / 0.7767 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.406e-05/0.5056, allocations: 106.5 kB / 0.7768 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.5056, allocations: 5.125 kB / 0.7768 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/0.5059, allocations: 27.08 kB / 0.7768 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.316e-05/0.5059, allocations: 23.61 kB / 0.7768 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.506, allocations: 5.812 kB / 0.7769 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000172/0.5061, allocations: 190.2 kB / 0.777 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.22e-07/0.5061, allocations: 0 / 0.777 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003536/0.5065, allocations: 58.95 kB / 0.7771 GB, free: 13.74 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.001033/0.5075, allocations: 0.9931 MB / 0.7781 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000725/0.5083, allocations: 231.3 kB / 0.7783 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5083, allocations: 0.6875 kB / 0.7783 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003432/0.5086, allocations: 118.1 kB / 0.7784 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005167/0.5092, allocations: 82.38 kB / 0.7785 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003535/0.5127, allocations: 2.691 MB / 0.7811 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.5129, allocations: 0.7495 MB / 0.7818 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001346/0.513, allocations: 32.33 kB / 0.7819 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.5131, allocations: 87.5 kB / 0.7819 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.5131, allocations: 0 / 0.7819 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/0.5343, allocations: 6.515 MB / 0.7883 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.863/8.397, allocations: 17.95 kB / 0.7883 GB, free: 9.934 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)