Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.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.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h",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.001832/0.001832, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002172/0.002172, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.372/1.372, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7666/0.7666, allocations: 132.2 MB / 422.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 68.75 kB / 0.5019 GB, free: 3.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3773, allocations: 80.2 MB / 0.5802 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.1856/0.563, allocations: 176 MB / 0.7521 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01094/0.574, allocations: 8.708 MB / 0.7606 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007844/0.5748, allocations: 19.88 kB / 0.7606 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000817/0.5756, allocations: 297.8 kB / 0.7609 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0008863/0.5766, allocations: 310.4 kB / 0.7612 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.5776, allocations: 374.2 kB / 0.7615 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001307/0.579, allocations: 1.145 MB / 0.7626 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008514/0.5798, allocations: 0.592 MB / 0.7632 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00436/0.5842, allocations: 2.055 MB / 0.7652 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004679/0.5847, allocations: 354.4 kB / 0.7656 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.236e-05/0.5848, allocations: 40 kB / 0.7656 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002308/0.585, allocations: 79.95 kB / 0.7657 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002507/0.5853, allocations: 255.3 kB / 0.7659 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003067/0.5856, allocations: 290.4 kB / 0.7662 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006395/0.5862, allocations: 0.6151 MB / 0.7668 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.5862, allocations: 7.984 kB / 0.7668 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5863, allocations: 4 kB / 0.7668 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.867e-05/0.5863, allocations: 0 / 0.7668 GB, free: 1.746 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.00108/0.5874, allocations: 0.8146 MB / 0.7676 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.5874, allocations: 15.97 kB / 0.7676 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001057/0.5875, allocations: 98.5 kB / 0.7677 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.5876, allocations: 63.25 kB / 0.7678 GB, free: 0.6992 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005263/0.5882, allocations: 414.2 kB / 0.7682 GB, free: 264 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.559e-05/0.5882, allocations: 41.31 kB / 0.7682 GB, free: 220 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.584e-05/0.5883, allocations: 51.98 kB / 0.7682 GB, free: 168 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.5893, allocations: 0.708 MB / 0.7689 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.5893, allocations: 11.94 kB / 0.7689 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.765e-05/0.5894, allocations: 23.98 kB / 0.769 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.933e-05/0.5895, allocations: 27.98 kB / 0.769 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006596/0.5901, allocations: 387.3 kB / 0.7694 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00247/0.5926, allocations: 3.231 MB / 0.7725 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/0.5929, allocations: 222.2 kB / 0.7727 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.5931, allocations: 124.5 kB / 0.7729 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.5931, allocations: 7.938 kB / 0.7729 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.5931, allocations: 50.48 kB / 0.7729 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.693e-06/0.5931, allocations: 0 / 0.7729 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006979/0.5938, allocations: 253.4 kB / 0.7732 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.594, allocations: 286.7 kB / 0.7734 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007404/0.5947, allocations: 0.6916 MB / 0.7741 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.5947, allocations: 26.11 kB / 0.7741 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.5949, allocations: 272.2 kB / 0.7744 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.595, allocations: 31.55 kB / 0.7744 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/0.595, allocations: 29.7 kB / 0.7744 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.5952, allocations: 366.8 kB / 0.7748 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.5953, allocations: 39.95 kB / 0.7748 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.5955, allocations: 93.11 kB / 0.7749 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.5957, allocations: 129 kB / 0.775 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.5957, allocations: 0 / 0.775 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000353/0.5961, allocations: 192.7 kB / 0.7752 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.5961, allocations: 7.984 kB / 0.7752 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.5961, allocations: 7.938 kB / 0.7752 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.5961, allocations: 4.172 kB / 0.7752 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.5964, allocations: 39.97 kB / 0.7753 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.5964, allocations: 7.984 kB / 0.7753 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.5966, allocations: 51.38 kB / 0.7753 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.5966, allocations: 12.16 kB / 0.7754 GB, free: 8.375 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (10): * Single equations (assignments): 10 * 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.0001855/0.5968, allocations: 201.7 kB / 0.7755 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000263/0.5971, allocations: 67.12 kB / 0.7756 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.034e-05/0.5972, allocations: 68.31 kB / 0.7757 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.5972, allocations: 4 kB / 0.7757 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.5972, allocations: 4 kB / 0.7757 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.5972, allocations: 0 / 0.7757 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.5985, allocations: 1.297 MB / 0.7769 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5985, allocations: 0 / 0.7769 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.5987, allocations: 43.89 kB / 0.777 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.381e-06/0.5987, allocations: 4 kB / 0.777 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.5988, allocations: 4.391 kB / 0.777 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.5988, allocations: 15.88 kB / 0.777 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5988, allocations: 0 / 0.777 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003829/0.5992, allocations: 334.4 kB / 0.7773 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.5993, allocations: 156.3 kB / 0.7775 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.175e-05/0.5994, allocations: 8.062 kB / 0.7775 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.5996, allocations: 15.92 kB / 0.7775 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.5996, allocations: 12 kB / 0.7775 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-06/0.5996, allocations: 4 kB / 0.7775 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005178/0.6002, allocations: 0.499 MB / 0.778 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6002, allocations: 0 / 0.778 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003816/0.6006, allocations: 72 kB / 0.7781 GB, free: 5.426 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.000814/0.6014, allocations: 0.9167 MB / 0.779 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003149/0.6017, allocations: 107.8 kB / 0.7791 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6017, allocations: 0 / 0.7791 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.6019, allocations: 63.83 kB / 0.7791 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.6033, allocations: 273.7 kB / 0.7794 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00554/0.6088, allocations: 4.579 MB / 0.7839 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005323/0.6094, allocations: 0.9089 MB / 0.7848 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003101/0.6097, allocations: 108.6 kB / 0.7849 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.6099, allocations: 167.4 kB / 0.785 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of SimCode: time 6.51e-07/0.6099, allocations: 0 / 0.785 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03488/0.6448, allocations: 13.46 MB / 0.7982 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.529/8.174, allocations: 0.6562 kB / 0.7982 GB, free: 0.8906 MB / 0.6231 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)