Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_dev_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.001676/0.001676, 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.001326/0.001325, allocations: 193.8 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.385/1.385, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9803/0.9803, allocations: 135.1 MB / 425.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 72.81 kB / 0.5054 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1706, allocations: 80.92 MB / 0.5845 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.4653/0.636, allocations: 176 MB / 0.7563 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00998/0.646, allocations: 8.712 MB / 0.7648 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007464/0.6468, allocations: 23.88 kB / 0.7648 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000738/0.6476, allocations: 293.8 kB / 0.7651 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007344/0.6483, allocations: 306.3 kB / 0.7654 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000934/0.6492, allocations: 371.7 kB / 0.7658 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00105/0.6503, allocations: 1.154 MB / 0.7669 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000736/0.651, allocations: 0.596 MB / 0.7675 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004242/0.6553, allocations: 2.062 MB / 0.7695 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003995/0.6557, allocations: 342.5 kB / 0.7698 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.848e-05/0.6558, allocations: 40 kB / 0.7699 GB, free: 15 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.656, allocations: 79.95 kB / 0.7699 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002245/0.6562, allocations: 259.3 kB / 0.7702 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002657/0.6565, allocations: 286.5 kB / 0.7705 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005848/0.6571, allocations: 0.619 MB / 0.7711 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.6571, allocations: 0 / 0.7711 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.173e-06/0.6571, allocations: 0 / 0.7711 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.6571, allocations: 0 / 0.7711 GB, free: 13.77 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.0009468/0.6581, allocations: 0.825 MB / 0.7719 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.6581, allocations: 15.97 kB / 0.7719 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.431e-05/0.6582, allocations: 106.4 kB / 0.772 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.488e-05/0.6583, allocations: 63.25 kB / 0.772 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004736/0.6588, allocations: 414.2 kB / 0.7724 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.297e-05/0.6589, allocations: 41.31 kB / 0.7725 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.873e-05/0.6589, allocations: 51.98 kB / 0.7725 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.66, allocations: 0.695 MB / 0.7732 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.66, allocations: 7.938 kB / 0.7732 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.018e-05/0.6601, allocations: 27.92 kB / 0.7732 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.091e-05/0.6602, allocations: 31.98 kB / 0.7733 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006243/0.6608, allocations: 375.4 kB / 0.7736 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002539/0.6634, allocations: 3.239 MB / 0.7768 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.6636, allocations: 222.2 kB / 0.777 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.6638, allocations: 124.5 kB / 0.7771 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.6639, allocations: 4 kB / 0.7771 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.6639, allocations: 50.44 kB / 0.7772 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.6639, allocations: 0 / 0.7772 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006802/0.6646, allocations: 249.8 kB / 0.7774 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.6647, allocations: 294.7 kB / 0.7777 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006817/0.6654, allocations: 0.6839 MB / 0.7784 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.6654, allocations: 25.7 kB / 0.7784 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.6656, allocations: 268.1 kB / 0.7786 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/0.6657, allocations: 39.53 kB / 0.7787 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.158e-05/0.6657, allocations: 33.8 kB / 0.7787 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.6659, allocations: 366.8 kB / 0.7791 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.666, allocations: 39.95 kB / 0.7791 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.6661, allocations: 93.05 kB / 0.7792 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002423/0.6664, allocations: 129 kB / 0.7793 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.6664, allocations: 4.562 kB / 0.7793 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003344/0.6667, allocations: 192.7 kB / 0.7795 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.6668, allocations: 11.94 kB / 0.7795 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.6668, allocations: 0 / 0.7795 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.6668, allocations: 0 / 0.7795 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.667, allocations: 44.47 kB / 0.7796 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.6671, allocations: 6.438 kB / 0.7796 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.6673, allocations: 51.36 kB / 0.7796 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.6673, allocations: 15.94 kB / 0.7796 GB, free: 4.395 MB / 0.5919 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.0001905/0.6675, allocations: 201.7 kB / 0.7798 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002183/0.6677, allocations: 63.19 kB / 0.7799 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.688e-05/0.6678, allocations: 60.33 kB / 0.7799 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.6678, allocations: 4 kB / 0.7799 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.6678, allocations: 8 kB / 0.7799 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.6678, allocations: 3.984 kB / 0.7799 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.6691, allocations: 1.297 MB / 0.7812 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.6691, allocations: 0 / 0.7812 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.6693, allocations: 43.89 kB / 0.7813 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/0.6693, allocations: 4 kB / 0.7813 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.6693, allocations: 4 kB / 0.7813 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.6693, allocations: 4 kB / 0.7813 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.6693, allocations: 8.219 kB / 0.7813 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003684/0.6697, allocations: 330.4 kB / 0.7816 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.6698, allocations: 152.3 kB / 0.7817 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.982e-05/0.6699, allocations: 11.98 kB / 0.7817 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.6701, allocations: 11.19 kB / 0.7818 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.6701, allocations: 19.92 kB / 0.7818 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.6701, allocations: 4 kB / 0.7818 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004893/0.6706, allocations: 0.4912 MB / 0.7823 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6706, allocations: 288 / 0.7823 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003645/0.671, allocations: 79.94 kB / 0.7823 GB, free: 1.457 MB / 0.5919 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.0007914/0.6718, allocations: 0.9138 MB / 0.7832 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002977/0.6721, allocations: 112.1 kB / 0.7833 GB, free: 396 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6721, allocations: 0 / 0.7833 GB, free: 396 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.6723, allocations: 67.83 kB / 0.7834 GB, free: 328 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.6736, allocations: 289.4 kB / 0.7837 GB, free: 68 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005075/0.6787, allocations: 4.563 MB / 0.7881 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004745/0.6792, allocations: 0.9089 MB / 0.789 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002693/0.6795, allocations: 105.7 kB / 0.7891 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.6797, allocations: 171.4 kB / 0.7893 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of SimCode: time 1.242e-06/0.6797, allocations: 0 / 0.7893 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03449/0.7142, allocations: 13.46 MB / 0.8024 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.447/8.161, allocations: 11.98 kB / 0.8024 GB, free: 12.89 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)