Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_dev_IDEAS_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.005397/0.005397, allocations: 103.5 kB / 15.74 MB, free: 6.039 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.001154/0.001154, allocations: 198.1 kB / 16.68 MB, free: 5.965 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.916/0.916, allocations: 135.1 MB / 425.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.91 kB / 0.5851 GB, free: 3.824 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3847, allocations: 80.92 MB / 0.6642 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002544/0.3873, allocations: 2.113 MB / 0.6662 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.3887, allocations: 1.027 MB / 0.6672 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.3888, allocations: 6.125 kB / 0.6672 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.816e-05/0.3888, allocations: 31.66 kB / 0.6673 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.3891, allocations: 74.73 kB / 0.6673 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003561/0.3895, allocations: 199.9 kB / 0.6675 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.3898, allocations: 290.4 kB / 0.6678 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.3899, allocations: 77.61 kB / 0.6679 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.39, allocations: 108.2 kB / 0.668 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.3902, allocations: 138.4 kB / 0.6681 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.479e-05/0.3903, allocations: 18.03 kB / 0.6681 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003387/0.3906, allocations: 298.3 kB / 0.6684 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.411e-05/0.3906, allocations: 57.02 kB / 0.6685 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.105e-05/0.3907, allocations: 117.3 kB / 0.6686 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.3911, allocations: 333.2 kB / 0.6689 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3911, allocations: 0 / 0.6689 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3911, allocations: 1.188 kB / 0.6689 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.3911, allocations: 4 kB / 0.6689 GB, free: 3.613 MB / 0.4981 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.0009121/0.392, allocations: 0.631 MB / 0.6695 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.392, allocations: 12.98 kB / 0.6695 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.446e-05/0.3921, allocations: 47.62 kB / 0.6696 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/0.3923, allocations: 41.08 kB / 0.6696 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.3926, allocations: 285.4 kB / 0.6699 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.3926, allocations: 18.97 kB / 0.6699 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.3927, allocations: 17.38 kB / 0.6699 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004821/0.3932, allocations: 220.6 kB / 0.6701 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3932, allocations: 11.88 kB / 0.6702 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.3932, allocations: 7.094 kB / 0.6702 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.3932, allocations: 3.781 kB / 0.6702 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006523/0.3939, allocations: 197.8 kB / 0.6704 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009902/0.3949, allocations: 0.9482 MB / 0.6713 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007617/0.3956, allocations: 244.5 kB / 0.6715 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003319/0.396, allocations: 102.3 kB / 0.6716 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.396, allocations: 5.469 kB / 0.6716 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.3961, allocations: 35.97 kB / 0.6716 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.362e-06/0.3961, allocations: 0 / 0.6716 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001185/0.3973, allocations: 344 kB / 0.672 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.3973, allocations: 78.23 kB / 0.672 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.3975, allocations: 267.6 kB / 0.6723 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.3975, allocations: 27.27 kB / 0.6723 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.477e-05/0.3976, allocations: 160.5 kB / 0.6725 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.3977, allocations: 62.17 kB / 0.6725 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.176e-05/0.3977, allocations: 39.8 kB / 0.6726 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.55e-05/0.3978, allocations: 341.1 kB / 0.6729 GB, free: 236 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003091/0.3981, allocations: 88.97 kB / 0.673 GB, free: 196 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003117/0.3984, allocations: 144.7 kB / 0.6731 GB, free: 88 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006686/0.3991, allocations: 248.5 kB / 0.6734 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.3991, allocations: 5.562 kB / 0.6734 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008649/0.4, allocations: 287.1 kB / 0.6736 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.4, allocations: 9.844 kB / 0.6737 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.4, allocations: 2.219 kB / 0.6737 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.4, allocations: 2.312 kB / 0.6737 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003023/0.4003, allocations: 63.47 kB / 0.6737 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.4004, allocations: 2.031 kB / 0.6737 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.4006, allocations: 36.92 kB / 0.6738 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.4006, allocations: 10.75 kB / 0.6738 GB, free: 15.73 MB / 0.5137 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.0001364/0.4008, allocations: 142.8 kB / 0.6739 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.4009, allocations: 29.19 kB / 0.6739 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000818/0.4017, allocations: 282.8 kB / 0.6742 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.4017, allocations: 6.516 kB / 0.6742 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4018, allocations: 1.281 kB / 0.6742 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.4018, allocations: 0 / 0.6742 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003569/0.4021, allocations: 302.6 kB / 0.6745 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4021, allocations: 0 / 0.6745 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002609/0.4024, allocations: 50.55 kB / 0.6745 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4024, allocations: 5.25 kB / 0.6745 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.4024, allocations: 5.281 kB / 0.6746 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.4024, allocations: 9.375 kB / 0.6746 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.4025, allocations: 5.578 kB / 0.6746 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008442/0.4033, allocations: 444.5 kB / 0.675 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.924e-05/0.4034, allocations: 103.6 kB / 0.6751 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.4034, allocations: 6.578 kB / 0.6751 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/0.4037, allocations: 24.75 kB / 0.6751 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.123e-05/0.4038, allocations: 19.47 kB / 0.6751 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.4038, allocations: 9.656 kB / 0.6751 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001687/0.404, allocations: 189.9 kB / 0.6753 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.404, allocations: 3.938 kB / 0.6753 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003484/0.4043, allocations: 57.58 kB / 0.6754 GB, free: 14.47 MB / 0.5137 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.001174/0.4055, allocations: 0.9883 MB / 0.6764 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007402/0.4063, allocations: 232.5 kB / 0.6766 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4063, allocations: 0 / 0.6766 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003459/0.4066, allocations: 118.4 kB / 0.6767 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005381/0.4072, allocations: 71.03 kB / 0.6768 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003936/0.4111, allocations: 2.715 MB / 0.6794 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.4115, allocations: 0.7503 MB / 0.6801 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001578/0.4116, allocations: 28.41 kB / 0.6802 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.4118, allocations: 85.28 kB / 0.6802 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of SimCode: time 4.2e-07/0.4118, allocations: 1.062 kB / 0.6802 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02432/0.4361, allocations: 6.545 MB / 0.6866 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.509/7.945, allocations: 3.766 kB / 0.6866 GB, free: 7.293 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.csv --start-time 0 --stop-time 80 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.032 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)