Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IBPSA_latest_IBPSA_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.00125/0.00125, allocations: 104.5 kB / 15.98 MB, free: 6.344 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.001235/0.001235, allocations: 198.2 kB / 16.91 MB, free: 6.188 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.22/1.22, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6838/0.6838, allocations: 115.3 MB / 406.1 MB, free: 6.41 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 63.91 kB / 493.2 MB, free: 0.6172 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2541, allocations: 76.17 MB / 0.556 GB, free: 36.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001951/0.256, allocations: 1.617 MB / 0.5576 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009446/0.257, allocations: 0.8982 MB / 0.5585 GB, free: 34.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.311e-05/0.2571, allocations: 1.562 kB / 0.5585 GB, free: 34.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.701e-05/0.2571, allocations: 5.922 kB / 0.5585 GB, free: 34.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001549/0.2573, allocations: 21.25 kB / 0.5585 GB, free: 34.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.2575, allocations: 126.6 kB / 0.5586 GB, free: 34.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.497e-05/0.2576, allocations: 77.03 kB / 0.5587 GB, free: 34.42 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.016e-05/0.2577, allocations: 10.38 kB / 0.5587 GB, free: 34.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.721e-05/0.2578, allocations: 43.78 kB / 0.5588 GB, free: 34.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.756e-05/0.2579, allocations: 39.86 kB / 0.5588 GB, free: 34.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.2579, allocations: 4 kB / 0.5588 GB, free: 34.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003025/0.2582, allocations: 282.4 kB / 0.5591 GB, free: 34.31 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.341e-05/0.2582, allocations: 7.594 kB / 0.5591 GB, free: 34.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.201e-05/0.2583, allocations: 31.7 kB / 0.5591 GB, free: 34.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.2584, allocations: 149.9 kB / 0.5592 GB, free: 34.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.2585, allocations: 0 / 0.5592 GB, free: 34.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2585, allocations: 1.406 kB / 0.5592 GB, free: 34.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.2585, allocations: 0 / 0.5592 GB, free: 34.23 MB / 446.1 MB 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.0003988/0.2589, allocations: 407.2 kB / 0.5596 GB, free: 33.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.2589, allocations: 9.938 kB / 0.5596 GB, free: 33.84 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.258e-05/0.2589, allocations: 41.23 kB / 0.5597 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.277e-05/0.259, allocations: 12.12 kB / 0.5597 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.2592, allocations: 191.5 kB / 0.5599 GB, free: 33.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.801e-06/0.2592, allocations: 7.062 kB / 0.5599 GB, free: 33.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.2592, allocations: 4.406 kB / 0.5599 GB, free: 33.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.2593, allocations: 65.05 kB / 0.56 GB, free: 33.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.2593, allocations: 0.6562 kB / 0.56 GB, free: 33.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.2594, allocations: 0 / 0.56 GB, free: 33.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.2594, allocations: 1.812 kB / 0.56 GB, free: 33.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.2595, allocations: 44.38 kB / 0.56 GB, free: 33.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003106/0.2598, allocations: 302.8 kB / 0.5603 GB, free: 33.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.2599, allocations: 57.47 kB / 0.5603 GB, free: 33.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.861e-05/0.26, allocations: 27.47 kB / 0.5604 GB, free: 33.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.26, allocations: 5.672 kB / 0.5604 GB, free: 33.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.007e-05/0.26, allocations: 32.72 kB / 0.5604 GB, free: 33.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.2601, allocations: 0 / 0.5604 GB, free: 33.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003009/0.2604, allocations: 109.4 kB / 0.5605 GB, free: 33.08 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.574e-05/0.2604, allocations: 57.58 kB / 0.5606 GB, free: 33.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.955e-05/0.2605, allocations: 137.3 kB / 0.5607 GB, free: 32.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.2605, allocations: 25.7 kB / 0.5607 GB, free: 32.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.749e-05/0.2605, allocations: 94.94 kB / 0.5608 GB, free: 32.78 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.492e-05/0.2605, allocations: 15.84 kB / 0.5608 GB, free: 32.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.2606, allocations: 16.75 kB / 0.5608 GB, free: 32.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.557e-05/0.2606, allocations: 325 kB / 0.5611 GB, free: 32.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.052e-05/0.2607, allocations: 24.66 kB / 0.5612 GB, free: 32.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.181e-05/0.2607, allocations: 22.88 kB / 0.5612 GB, free: 32.42 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.2609, allocations: 51.12 kB / 0.5612 GB, free: 32.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.2609, allocations: 4.438 kB / 0.5612 GB, free: 32.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000181/0.2611, allocations: 96.05 kB / 0.5613 GB, free: 32.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.517e-06/0.2611, allocations: 3.875 kB / 0.5613 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.2611, allocations: 2.297 kB / 0.5613 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.2611, allocations: 0 / 0.5613 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.2612, allocations: 17.77 kB / 0.5614 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.2612, allocations: 1.531 kB / 0.5614 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.797e-05/0.2613, allocations: 5.25 kB / 0.5614 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.2613, allocations: 3.688 kB / 0.5614 GB, free: 32.34 MB / 446.1 MB 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 4.367e-05/0.2614, allocations: 122.1 kB / 0.5615 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.2614, allocations: 7.938 kB / 0.5615 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/0.2616, allocations: 105.8 kB / 0.5616 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.2616, allocations: 1.531 kB / 0.5616 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2616, allocations: 4.672 kB / 0.5616 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2616, allocations: 0 / 0.5616 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.2618, allocations: 191.2 kB / 0.5618 GB, free: 31.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2618, allocations: 7.938 kB / 0.5618 GB, free: 31.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.024e-05/0.2619, allocations: 13.3 kB / 0.5618 GB, free: 31.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.2619, allocations: 1.125 kB / 0.5618 GB, free: 31.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.2619, allocations: 4.656 kB / 0.5618 GB, free: 31.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2619, allocations: 1.375 kB / 0.5618 GB, free: 31.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2619, allocations: 2.516 kB / 0.5618 GB, free: 31.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.2621, allocations: 184.4 kB / 0.562 GB, free: 31.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.809e-05/0.2621, allocations: 88.17 kB / 0.5621 GB, free: 31.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.2621, allocations: 1.844 kB / 0.5621 GB, free: 31.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.258e-05/0.2622, allocations: 5.234 kB / 0.5621 GB, free: 31.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.2622, allocations: 5.922 kB / 0.5621 GB, free: 31.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.2623, allocations: 1.438 kB / 0.5621 GB, free: 31.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.603e-05/0.2623, allocations: 102.3 kB / 0.5622 GB, free: 31.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2623, allocations: 0 / 0.5622 GB, free: 31.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002215/0.2625, allocations: 26.78 kB / 0.5622 GB, free: 31.6 MB / 446.1 MB 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.00035/0.2629, allocations: 0.7338 MB / 0.5629 GB, free: 30.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001772/0.2631, allocations: 55.64 kB / 0.563 GB, free: 30.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.2631, allocations: 0 / 0.563 GB, free: 30.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.666e-05/0.2632, allocations: 33.23 kB / 0.563 GB, free: 30.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.2634, allocations: 18.2 kB / 0.563 GB, free: 30.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.2645, allocations: 1.476 MB / 0.5645 GB, free: 29.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.218e-05/0.2646, allocations: 0.6907 MB / 0.5651 GB, free: 28.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.525e-05/0.2647, allocations: 4.969 kB / 0.5651 GB, free: 28.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.88e-05/0.2647, allocations: 22.5 kB / 0.5652 GB, free: 28.89 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.2647, allocations: 1.219 kB / 0.5652 GB, free: 28.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.37/1.635, allocations: 2.153 MB / 0.5673 GB, free: 28.67 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/1.635, allocations: 218.9 kB / 0.5675 GB, free: 28.42 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.122/3.756, allocations: 2.438 kB / 0.5675 GB, free: 28.42 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)