Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HACoilInside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.005154/0.005154, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001446/0.001446, allocations: 197.5 kB / 16.68 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002466/0.002466, allocations: 298.7 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.9719/0.9719, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002555/0.002555, allocations: 96.53 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1528, allocations: 86.97 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002562/0.1554, allocations: 1.558 MB / 0.7674 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.1567, allocations: 0.9128 MB / 0.7683 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.777e-05/0.1568, allocations: 0 / 0.7683 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.658e-05/0.1568, allocations: 7.922 kB / 0.7683 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001714/0.157, allocations: 23.8 kB / 0.7684 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.1573, allocations: 145.7 kB / 0.7685 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.1575, allocations: 79.66 kB / 0.7686 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.338e-05/0.1576, allocations: 8.266 kB / 0.7686 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.668e-05/0.1576, allocations: 43.86 kB / 0.7686 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.1578, allocations: 39.83 kB / 0.7687 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.1578, allocations: 4 kB / 0.7687 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000377/0.1582, allocations: 283.6 kB / 0.7689 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.1582, allocations: 11.92 kB / 0.7689 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.1582, allocations: 27.81 kB / 0.769 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.1585, allocations: 159.4 kB / 0.7691 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1585, allocations: 0 / 0.7691 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1585, allocations: 0 / 0.7691 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.1585, allocations: 0 / 0.7691 GB, free: 5.629 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005508/0.1591, allocations: 418.8 kB / 0.7695 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.1591, allocations: 8.031 kB / 0.7695 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.857e-05/0.1591, allocations: 38.75 kB / 0.7696 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.5e-05/0.1592, allocations: 8.891 kB / 0.7696 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.1595, allocations: 191 kB / 0.7698 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.1595, allocations: 8.375 kB / 0.7698 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.1595, allocations: 8.375 kB / 0.7698 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.1597, allocations: 65.73 kB / 0.7698 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.1597, allocations: 0 / 0.7698 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.475e-06/0.1597, allocations: 4 kB / 0.7698 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1597, allocations: 0 / 0.7698 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.1598, allocations: 43.95 kB / 0.7699 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004212/0.1603, allocations: 304.8 kB / 0.7702 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.1604, allocations: 50.55 kB / 0.7702 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.874e-05/0.1605, allocations: 36.91 kB / 0.7703 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.1605, allocations: 0 / 0.7703 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.1605, allocations: 30.56 kB / 0.7703 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.1606, allocations: 4 kB / 0.7703 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0003261/0.1609, allocations: 101.6 kB / 0.7704 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.1609, allocations: 59.34 kB / 0.7704 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.161, allocations: 133.7 kB / 0.7706 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.1611, allocations: 25.7 kB / 0.7706 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.76e-05/0.1611, allocations: 100.2 kB / 0.7707 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.1612, allocations: 15.84 kB / 0.7707 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-05/0.1612, allocations: 25.7 kB / 0.7707 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1613, allocations: 322.8 kB / 0.771 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.598e-05/0.1614, allocations: 27.92 kB / 0.7711 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.233e-05/0.1615, allocations: 19.98 kB / 0.7711 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.1616, allocations: 52.83 kB / 0.7711 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1616, allocations: 0 / 0.7711 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002015/0.1618, allocations: 89.62 kB / 0.7712 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.1619, allocations: 7.938 kB / 0.7712 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.1619, allocations: 0 / 0.7712 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1619, allocations: 4 kB / 0.7712 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.162, allocations: 19.92 kB / 0.7712 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.162, allocations: 0 / 0.7712 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.554e-05/0.1621, allocations: 12.38 kB / 0.7713 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.1621, allocations: 4 kB / 0.7713 GB, free: 3.203 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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 7.954e-05/0.1622, allocations: 118.4 kB / 0.7714 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.1622, allocations: 7.953 kB / 0.7714 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000236/0.1625, allocations: 102 kB / 0.7715 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1625, allocations: 0 / 0.7715 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1625, allocations: 0 / 0.7715 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1625, allocations: 0 / 0.7715 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.1627, allocations: 185.6 kB / 0.7717 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1627, allocations: 0 / 0.7717 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.618e-05/0.1628, allocations: 19.92 kB / 0.7717 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1628, allocations: 4 kB / 0.7717 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.1628, allocations: 4 kB / 0.7717 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1628, allocations: 0 / 0.7717 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1628, allocations: 0 / 0.7717 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.1631, allocations: 187.4 kB / 0.7719 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.027e-05/0.1632, allocations: 93 kB / 0.772 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.1632, allocations: 3.984 kB / 0.772 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.1633, allocations: 4 kB / 0.772 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.1633, allocations: 7.922 kB / 0.772 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.1634, allocations: 4 kB / 0.772 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.678e-05/0.1634, allocations: 101.6 kB / 0.7721 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1634, allocations: 0 / 0.7721 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003114/0.1637, allocations: 20 kB / 0.7721 GB, free: 2.262 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0005951/0.1643, allocations: 0.7435 MB / 0.7728 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001876/0.1645, allocations: 55.95 kB / 0.7729 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.1646, allocations: 3.938 kB / 0.7729 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.09e-05/0.1646, allocations: 31.98 kB / 0.7729 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.165, allocations: 16.42 kB / 0.7729 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2739/0.4389, allocations: 1.449 MB / 0.7743 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.439, allocations: 0.6909 MB / 0.775 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.375e-05/0.4391, allocations: 9.328 kB / 0.775 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.889e-05/0.4392, allocations: 26.59 kB / 0.775 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of SimCode: time 5.71e-07/0.4392, allocations: 0 / 0.775 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1134/0.5526, allocations: 2.325 MB / 0.7773 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.824/8.377, allocations: 9.266 kB / 0.7773 GB, free: 13.05 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)