Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.HADryCoil,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_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.00735/0.00735, allocations: 96.7 kB / 15.73 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.001717/0.001717, allocations: 194.1 kB / 16.67 MB, free: 5.969 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.255/1.255, 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/package.mo): time 0.719/0.719, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001305, allocations: 63.89 kB / 0.5809 GB, free: 8.043 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3706, allocations: 80.21 MB / 0.6592 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002634/0.3732, allocations: 2.12 MB / 0.6613 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.3745, allocations: 1.034 MB / 0.6623 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.3747, allocations: 2.812 kB / 0.6623 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.816e-05/0.3747, allocations: 25.59 kB / 0.6623 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.375, allocations: 85.41 kB / 0.6624 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003722/0.3754, allocations: 183.6 kB / 0.6626 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002652/0.3756, allocations: 295 kB / 0.6628 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.3758, allocations: 67.88 kB / 0.6629 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.3759, allocations: 106.8 kB / 0.663 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.3761, allocations: 147.8 kB / 0.6632 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/0.3761, allocations: 17.75 kB / 0.6632 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003476/0.3765, allocations: 298 kB / 0.6635 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.469e-05/0.3765, allocations: 53.66 kB / 0.6635 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.09e-05/0.3766, allocations: 116.2 kB / 0.6636 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003301/0.377, allocations: 343.4 kB / 0.6639 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.377, allocations: 1.062 kB / 0.6639 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.377, allocations: 0 / 0.6639 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.377, allocations: 0 / 0.6639 GB, free: 6.848 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.0009115/0.3779, allocations: 0.632 MB / 0.6646 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.378, allocations: 8.938 kB / 0.6646 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.076e-05/0.378, allocations: 46.89 kB / 0.6646 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001945/0.3782, allocations: 40.95 kB / 0.6647 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.3785, allocations: 293.8 kB / 0.6649 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.3785, allocations: 18.94 kB / 0.665 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.3786, allocations: 13.38 kB / 0.665 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004654/0.379, allocations: 228.9 kB / 0.6652 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.379, allocations: 0 / 0.6652 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.3791, allocations: 5.656 kB / 0.6652 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.3791, allocations: 8 kB / 0.6652 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006273/0.3797, allocations: 201.3 kB / 0.6654 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008408/0.3806, allocations: 0.9436 MB / 0.6663 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000721/0.3813, allocations: 241 kB / 0.6665 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003106/0.3816, allocations: 109.5 kB / 0.6666 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.3816, allocations: 1.875 kB / 0.6666 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.3817, allocations: 32.56 kB / 0.6667 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.3817, allocations: 0 / 0.6667 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001095/0.3828, allocations: 337.8 kB / 0.667 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.3828, allocations: 87.69 kB / 0.6671 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.383, allocations: 266.7 kB / 0.6673 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.383, allocations: 34.83 kB / 0.6674 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.536e-05/0.3831, allocations: 160.8 kB / 0.6675 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.3831, allocations: 59.2 kB / 0.6676 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.015e-05/0.3832, allocations: 39.3 kB / 0.6676 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.767e-05/0.3833, allocations: 341.1 kB / 0.6679 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/0.3836, allocations: 92.59 kB / 0.668 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003132/0.3839, allocations: 139.7 kB / 0.6682 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006004/0.3845, allocations: 240.7 kB / 0.6684 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.3845, allocations: 0.9375 kB / 0.6684 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007776/0.3853, allocations: 300.7 kB / 0.6687 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3853, allocations: 4.75 kB / 0.6687 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3853, allocations: 2.406 kB / 0.6687 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.3853, allocations: 2.656 kB / 0.6687 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.3856, allocations: 58.7 kB / 0.6687 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.3856, allocations: 10.55 kB / 0.6688 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.3859, allocations: 41.17 kB / 0.6688 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.3859, allocations: 6.531 kB / 0.6688 GB, free: 2.957 MB / 0.4981 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 8.445e-05/0.386, allocations: 131.5 kB / 0.6689 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.3861, allocations: 32.47 kB / 0.669 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007435/0.3869, allocations: 286.9 kB / 0.6692 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.3869, allocations: 2.531 kB / 0.6692 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3869, allocations: 1.125 kB / 0.6692 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3869, allocations: 3.984 kB / 0.6692 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002927/0.3872, allocations: 301.9 kB / 0.6695 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3872, allocations: 5.281 kB / 0.6695 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000267/0.3875, allocations: 62.05 kB / 0.6696 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.3875, allocations: 1.5 kB / 0.6696 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.3875, allocations: 1.406 kB / 0.6696 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.3875, allocations: 1.5 kB / 0.6696 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3875, allocations: 0 / 0.6696 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000777/0.3883, allocations: 455.3 kB / 0.67 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.885e-05/0.3883, allocations: 99.69 kB / 0.6701 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/0.3884, allocations: 5.906 kB / 0.6701 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000263/0.3887, allocations: 29.42 kB / 0.6702 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.604e-05/0.3887, allocations: 19.55 kB / 0.6702 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.3887, allocations: 8.438 kB / 0.6702 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001567/0.3889, allocations: 186.8 kB / 0.6704 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3889, allocations: 0 / 0.6704 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003569/0.3893, allocations: 62.84 kB / 0.6704 GB, free: 1.703 MB / 0.4981 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.0009809/0.3903, allocations: 0.9904 MB / 0.6714 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007232/0.391, allocations: 217 kB / 0.6716 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.391, allocations: 1.531 kB / 0.6716 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003378/0.3913, allocations: 124.4 kB / 0.6717 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005366/0.3919, allocations: 71.62 kB / 0.6718 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003836/0.3957, allocations: 2.7 MB / 0.6744 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.3961, allocations: 0.755 MB / 0.6752 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001708/0.3963, allocations: 32.53 kB / 0.6752 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.3964, allocations: 93.5 kB / 0.6753 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of SimCode: time 5.81e-07/0.3964, allocations: 0 / 0.6753 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/0.4215, allocations: 6.543 MB / 0.6817 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.783/8.204, allocations: 11.44 kB / 0.6817 GB, free: 10.57 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)