Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_IDEAS_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.001282/0.001282, allocations: 98.03 kB / 15.36 MB, free: 0.7305 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.001409/0.001408, allocations: 173.2 kB / 16.27 MB, free: 6.66 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.217/1.217, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.744/0.744, allocations: 132.3 MB / 423.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003525, allocations: 8 kB / 0.5041 GB, free: 3.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3642, allocations: 81.57 MB / 0.5838 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001441/0.3656, allocations: 1.296 MB / 0.585 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.3669, allocations: 0.9113 MB / 0.5859 GB, free: 2.484 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.465e-05/0.3669, allocations: 0.7188 kB / 0.5859 GB, free: 2.484 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.049e-05/0.367, allocations: 6.391 kB / 0.5859 GB, free: 2.48 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001712/0.3671, allocations: 18.16 kB / 0.5859 GB, free: 2.469 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003218/0.3675, allocations: 106 kB / 0.586 GB, free: 2.418 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.3676, allocations: 69.81 kB / 0.5861 GB, free: 2.387 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.766e-05/0.3677, allocations: 7.812 kB / 0.5861 GB, free: 2.387 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.664e-05/0.3678, allocations: 36.22 kB / 0.5861 GB, free: 2.367 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.3679, allocations: 43.61 kB / 0.5862 GB, free: 2.344 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.3679, allocations: 7.094 kB / 0.5862 GB, free: 2.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004545/0.3684, allocations: 274.8 kB / 0.5865 GB, free: 2.273 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.3684, allocations: 4.031 kB / 0.5865 GB, free: 2.273 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.202e-05/0.3685, allocations: 57 kB / 0.5865 GB, free: 2.223 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.3687, allocations: 143.2 kB / 0.5866 GB, free: 2.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3687, allocations: 0 / 0.5866 GB, free: 2.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3687, allocations: 0 / 0.5866 GB, free: 2.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.3688, allocations: 0 / 0.5866 GB, free: 2.18 MB / 430.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.0004802/0.3692, allocations: 403.1 kB / 0.587 GB, free: 1.785 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3693, allocations: 9.438 kB / 0.587 GB, free: 1.785 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.246e-05/0.3693, allocations: 41.44 kB / 0.5871 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.3694, allocations: 12.02 kB / 0.5871 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.3696, allocations: 188.5 kB / 0.5873 GB, free: 1.523 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.3696, allocations: 6.312 kB / 0.5873 GB, free: 1.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.3696, allocations: 6.031 kB / 0.5873 GB, free: 1.516 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.3698, allocations: 68.11 kB / 0.5873 GB, free: 1.473 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.3698, allocations: 1.25 kB / 0.5873 GB, free: 1.473 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.3698, allocations: 0 / 0.5873 GB, free: 1.473 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.3698, allocations: 1.656 kB / 0.5873 GB, free: 1.473 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.37, allocations: 47.5 kB / 0.5874 GB, free: 1.465 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.3704, allocations: 303.8 kB / 0.5877 GB, free: 1.168 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.3705, allocations: 58.16 kB / 0.5877 GB, free: 1.133 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.864e-05/0.3706, allocations: 43.03 kB / 0.5878 GB, free: 1.109 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.3706, allocations: 0 / 0.5878 GB, free: 1.109 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.3707, allocations: 32.41 kB / 0.5878 GB, free: 1.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 8.91e-07/0.3707, allocations: 0 / 0.5878 GB, free: 1.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.000367/0.371, allocations: 124.3 kB / 0.5879 GB, free: 1.012 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/0.3711, allocations: 57.36 kB / 0.588 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.508e-05/0.3712, allocations: 134.8 kB / 0.5881 GB, free: 0.832 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.3712, allocations: 26.23 kB / 0.5881 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.3712, allocations: 98.44 kB / 0.5882 GB, free: 0.707 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.3712, allocations: 19.16 kB / 0.5883 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.209e-05/0.3713, allocations: 11.59 kB / 0.5883 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.19e-05/0.3713, allocations: 327.3 kB / 0.5886 GB, free: 360 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.59e-05/0.3714, allocations: 26.22 kB / 0.5886 GB, free: 356 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.344e-05/0.3715, allocations: 28 kB / 0.5886 GB, free: 348 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.3717, allocations: 63.39 kB / 0.5887 GB, free: 324 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3717, allocations: 0 / 0.5887 GB, free: 324 kB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002214/0.3719, allocations: 99.36 kB / 0.5888 GB, free: 272 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.3719, allocations: 5.969 kB / 0.5888 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.3719, allocations: 4 kB / 0.5888 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.3719, allocations: 5.156 kB / 0.5888 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.3721, allocations: 16.58 kB / 0.5888 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.3721, allocations: 0 / 0.5888 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.44e-05/0.3721, allocations: 11.36 kB / 0.5888 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.3722, allocations: 5.969 kB / 0.5888 GB, free: 256 kB / 430.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 5.149e-05/0.3722, allocations: 112.9 kB / 0.5889 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/0.3723, allocations: 16.38 kB / 0.589 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002493/0.3725, allocations: 106.2 kB / 0.5891 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.3725, allocations: 1 kB / 0.5891 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.3725, allocations: 1.516 kB / 0.5891 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.3726, allocations: 3.938 kB / 0.5891 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.3728, allocations: 183.6 kB / 0.5892 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3728, allocations: 5.25 kB / 0.5892 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.153e-05/0.3729, allocations: 15.41 kB / 0.5893 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3729, allocations: 0.5938 kB / 0.5893 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.3729, allocations: 2.25 kB / 0.5893 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3729, allocations: 0.8438 kB / 0.5893 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3729, allocations: 4 kB / 0.5893 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.3732, allocations: 199.9 kB / 0.5895 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.3732, allocations: 83.06 kB / 0.5895 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.3733, allocations: 5.828 kB / 0.5895 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.955e-05/0.3733, allocations: 10.73 kB / 0.5895 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.3734, allocations: 5.234 kB / 0.5896 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.3734, allocations: 5.312 kB / 0.5896 GB, free: 15.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.384e-05/0.3735, allocations: 108 kB / 0.5897 GB, free: 15.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3735, allocations: 0 / 0.5897 GB, free: 15.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.3737, allocations: 22.61 kB / 0.5897 GB, free: 15.49 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.0005766/0.3743, allocations: 0.7316 MB / 0.5904 GB, free: 14.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002479/0.3746, allocations: 65.8 kB / 0.5905 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3746, allocations: 1.031 kB / 0.5905 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.644e-05/0.3747, allocations: 38.89 kB / 0.5905 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.375, allocations: 10.52 kB / 0.5905 GB, free: 14.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.3767, allocations: 1.5 MB / 0.592 GB, free: 13.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.3769, allocations: 0.6935 MB / 0.5926 GB, free: 12.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.728e-05/0.377, allocations: 8.312 kB / 0.5927 GB, free: 12.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.887e-05/0.377, allocations: 23.3 kB / 0.5927 GB, free: 12.78 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3771, allocations: 0 / 0.5927 GB, free: 12.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5309/0.908, allocations: 2.021 MB / 0.5947 GB, free: 12.61 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/0.9082, allocations: 205.7 kB / 0.5948 GB, free: 12.35 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.875/2.783, allocations: 0 / 0.5948 GB, free: 12.35 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)