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.00088/0.00088, allocations: 91.38 kB / 15.06 MB, free: 1.094 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.0009862/0.0009862, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 223.3 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8198/0.8198, allocations: 132.3 MB / 423.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003241/0.0003245, allocations: 8.844 kB / 0.5035 GB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4507/0.451, allocations: 81.57 MB / 0.5832 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.1912/0.6423, allocations: 159.9 MB / 0.7393 GB, free: 280 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01129/0.6536, allocations: 8.079 MB / 0.7472 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.6547, allocations: 15.88 kB / 0.7472 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.6559, allocations: 222.3 kB / 0.7475 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001197/0.6571, allocations: 282.7 kB / 0.7477 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.6585, allocations: 294.3 kB / 0.748 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001671/0.6602, allocations: 1.363 MB / 0.7493 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008643/0.6611, allocations: 444.1 kB / 0.7498 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00384/0.6649, allocations: 1.474 MB / 0.7512 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005947/0.6655, allocations: 342.5 kB / 0.7515 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.49e-05/0.6656, allocations: 20 kB / 0.7515 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002814/0.6659, allocations: 55.97 kB / 0.7516 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003411/0.6663, allocations: 223.4 kB / 0.7518 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003018/0.6666, allocations: 129.4 kB / 0.7519 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006593/0.6673, allocations: 458.9 kB / 0.7524 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.6673, allocations: 4 kB / 0.7524 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.715e-06/0.6673, allocations: 0 / 0.7524 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.34e-05/0.6673, allocations: 7.938 kB / 0.7524 GB, free: 2.875 MB / 0.5762 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.001069/0.6684, allocations: 0.7187 MB / 0.7531 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.6684, allocations: 8.031 kB / 0.7531 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000133/0.6686, allocations: 94.52 kB / 0.7532 GB, free: 2 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.6687, allocations: 71.2 kB / 0.7533 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006345/0.6694, allocations: 406.4 kB / 0.7536 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.6694, allocations: 33.31 kB / 0.7537 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.645e-05/0.6695, allocations: 59.98 kB / 0.7537 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.6706, allocations: 0.7081 MB / 0.7544 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.6706, allocations: 7.938 kB / 0.7544 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.801e-05/0.6707, allocations: 20 kB / 0.7544 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.895e-05/0.6707, allocations: 39.92 kB / 0.7545 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006949/0.6714, allocations: 379.4 kB / 0.7548 GB, free: 180 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003026/0.6745, allocations: 3.227 MB / 0.758 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.6748, allocations: 226.1 kB / 0.7582 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002319/0.675, allocations: 136.5 kB / 0.7583 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.6751, allocations: 4 kB / 0.7584 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/0.6751, allocations: 46.5 kB / 0.7584 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 3.517e-06/0.6751, allocations: 0 / 0.7584 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0008146/0.6759, allocations: 265.4 kB / 0.7586 GB, free: 12 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001976/0.6761, allocations: 295.1 kB / 0.7589 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009057/0.6771, allocations: 0.6799 MB / 0.7596 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.6771, allocations: 33.7 kB / 0.7596 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/0.6774, allocations: 264.5 kB / 0.7599 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.662e-05/0.6774, allocations: 31.55 kB / 0.7599 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/0.6774, allocations: 0 / 0.7599 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001999/0.6776, allocations: 378.7 kB / 0.7603 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.6778, allocations: 43.97 kB / 0.7603 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.6779, allocations: 101 kB / 0.7604 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.6781, allocations: 51.95 kB / 0.7605 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.6781, allocations: 0 / 0.7605 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003682/0.6785, allocations: 204.9 kB / 0.7607 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.6785, allocations: 4 kB / 0.7607 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.6785, allocations: 0 / 0.7607 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.6785, allocations: 4 kB / 0.7607 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.6787, allocations: 55.95 kB / 0.7607 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.6788, allocations: 4.188 kB / 0.7607 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/0.679, allocations: 67.28 kB / 0.7608 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.6791, allocations: 8 kB / 0.7608 GB, free: 9.688 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002261/0.6793, allocations: 201.7 kB / 0.761 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002289/0.6795, allocations: 67.23 kB / 0.761 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.783e-05/0.6796, allocations: 60.33 kB / 0.7611 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.6797, allocations: 0 / 0.7611 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.6797, allocations: 4 kB / 0.7611 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.6797, allocations: 4 kB / 0.7611 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.6812, allocations: 1.3 MB / 0.7624 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.6812, allocations: 4 kB / 0.7624 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.6814, allocations: 52.23 kB / 0.7624 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.127e-05/0.6814, allocations: 7.953 kB / 0.7624 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.6815, allocations: 8 kB / 0.7624 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.726e-06/0.6815, allocations: 11.92 kB / 0.7625 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6815, allocations: 0 / 0.7625 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004402/0.6819, allocations: 338.5 kB / 0.7628 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.6821, allocations: 148.3 kB / 0.7629 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.156e-05/0.6822, allocations: 7.953 kB / 0.7629 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.6824, allocations: 23.98 kB / 0.763 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.997e-05/0.6825, allocations: 15.92 kB / 0.763 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.6825, allocations: 4 kB / 0.763 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006139/0.6831, allocations: 499 kB / 0.7635 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6831, allocations: 0 / 0.7635 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003894/0.6835, allocations: 91.92 kB / 0.7635 GB, free: 6.703 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009289/0.6844, allocations: 0.9259 MB / 0.7644 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003051/0.6848, allocations: 107.8 kB / 0.7645 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.6848, allocations: 384 / 0.7645 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.6849, allocations: 71.89 kB / 0.7646 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.6863, allocations: 273.7 kB / 0.7649 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004562/0.6908, allocations: 3.096 MB / 0.7679 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004613/0.6913, allocations: 0.9013 MB / 0.7688 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002917/0.6916, allocations: 100.6 kB / 0.7689 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.6918, allocations: 175.4 kB / 0.769 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of SimCode: time 6.92e-07/0.6918, allocations: 0 / 0.769 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02661/0.7184, allocations: 12.97 MB / 0.7817 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/0.7187, allocations: 212.8 kB / 0.7819 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/2.602, allocations: 4 kB / 0.7819 GB, free: 3.98 MB / 0.6075 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) Environment - environmentSimulation: