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.0009596/0.0009595, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.007864/0.007864, allocations: 171.1 kB / 16.27 MB, free: 6.648 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.308/1.308, allocations: 223.3 MB / 240.3 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7451/0.7451, allocations: 132.3 MB / 423.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00032/0.0003201, allocations: 8.562 kB / 0.5041 GB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.3989, allocations: 81.58 MB / 0.5837 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.1757/0.5746, allocations: 171.5 MB / 0.7512 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01078/0.5854, allocations: 8.585 MB / 0.7596 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000817/0.5863, allocations: 19.81 kB / 0.7596 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007136/0.587, allocations: 234.4 kB / 0.7598 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0007618/0.5878, allocations: 294.7 kB / 0.7601 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008999/0.5887, allocations: 338.2 kB / 0.7604 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001575/0.5903, allocations: 1.612 MB / 0.762 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007396/0.591, allocations: 0.5025 MB / 0.7625 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004414/0.5955, allocations: 1.895 MB / 0.7643 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000523/0.596, allocations: 354.4 kB / 0.7647 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.839e-05/0.5961, allocations: 20 kB / 0.7647 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000224/0.5963, allocations: 63.89 kB / 0.7647 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002595/0.5966, allocations: 239.3 kB / 0.765 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002993/0.5969, allocations: 280.2 kB / 0.7652 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006288/0.5975, allocations: 0.5838 MB / 0.7658 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.5975, allocations: 0 / 0.7658 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5976, allocations: 0 / 0.7658 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.836e-06/0.5976, allocations: 4 kB / 0.7658 GB, free: 5.297 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.0009638/0.5985, allocations: 0.7172 MB / 0.7665 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.5986, allocations: 8.031 kB / 0.7665 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.999e-05/0.5987, allocations: 94.52 kB / 0.7666 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.567e-05/0.5988, allocations: 67.25 kB / 0.7667 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005318/0.5993, allocations: 414.2 kB / 0.7671 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.396e-05/0.5994, allocations: 37.25 kB / 0.7671 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.955e-05/0.5995, allocations: 56 kB / 0.7672 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009993/0.6005, allocations: 0.7158 MB / 0.7679 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.6005, allocations: 7.938 kB / 0.7679 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.393e-05/0.6005, allocations: 24 kB / 0.7679 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.111e-05/0.6006, allocations: 31.97 kB / 0.7679 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006564/0.6013, allocations: 387.4 kB / 0.7683 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002497/0.6038, allocations: 3.235 MB / 0.7714 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.604, allocations: 230.2 kB / 0.7717 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002069/0.6043, allocations: 140.4 kB / 0.7718 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.6043, allocations: 0 / 0.7718 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.6043, allocations: 46.5 kB / 0.7718 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.133e-06/0.6043, allocations: 0 / 0.7718 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0007168/0.605, allocations: 265.4 kB / 0.7721 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.6052, allocations: 295.1 kB / 0.7724 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007219/0.6059, allocations: 0.6839 MB / 0.773 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.6059, allocations: 33.7 kB / 0.7731 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.6061, allocations: 264.2 kB / 0.7733 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/0.6062, allocations: 31.55 kB / 0.7734 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.6062, allocations: 17.72 kB / 0.7734 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.6063, allocations: 370.8 kB / 0.7737 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.6065, allocations: 39.97 kB / 0.7738 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.6066, allocations: 105 kB / 0.7739 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/0.6069, allocations: 129 kB / 0.774 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6069, allocations: 8 kB / 0.774 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000371/0.6073, allocations: 204.7 kB / 0.7742 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.6073, allocations: 8.188 kB / 0.7742 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.6073, allocations: 4.328 kB / 0.7742 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.6074, allocations: 0 / 0.7742 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.6076, allocations: 51.95 kB / 0.7743 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.6076, allocations: 7.875 kB / 0.7743 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.6078, allocations: 67.36 kB / 0.7743 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.6079, allocations: 4 kB / 0.7743 GB, free: 11.96 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.0001934/0.6081, allocations: 205.8 kB / 0.7745 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/0.6083, allocations: 63.19 kB / 0.7746 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.403e-05/0.6084, allocations: 56.52 kB / 0.7746 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.6084, allocations: 4 kB / 0.7746 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.6084, allocations: 11.92 kB / 0.7747 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.6084, allocations: 4 kB / 0.7747 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.6097, allocations: 1.304 MB / 0.7759 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.6097, allocations: 0 / 0.7759 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/0.6099, allocations: 51.95 kB / 0.776 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.61, allocations: 4.281 kB / 0.776 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.61, allocations: 8 kB / 0.776 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.61, allocations: 11.88 kB / 0.776 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.61, allocations: 4 kB / 0.776 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003966/0.6104, allocations: 342.5 kB / 0.7763 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.6106, allocations: 148.3 kB / 0.7765 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.389e-05/0.6106, allocations: 4 kB / 0.7765 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.6108, allocations: 23.92 kB / 0.7765 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.6109, allocations: 11.92 kB / 0.7765 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.6109, allocations: 16.05 kB / 0.7765 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005342/0.6114, allocations: 0.4912 MB / 0.777 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.6114, allocations: 0 / 0.777 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003743/0.6118, allocations: 83.94 kB / 0.7771 GB, free: 8.969 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.0008064/0.6126, allocations: 0.9143 MB / 0.778 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003163/0.613, allocations: 119.7 kB / 0.7781 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.613, allocations: 0 / 0.7781 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.6131, allocations: 64.84 kB / 0.7782 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.6147, allocations: 265.1 kB / 0.7784 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005342/0.62, allocations: 4.732 MB / 0.783 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/0.6205, allocations: 0.9052 MB / 0.7839 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002457/0.6207, allocations: 104.6 kB / 0.784 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/0.6209, allocations: 167.4 kB / 0.7842 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.6209, allocations: 0 / 0.7842 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3274/0.9483, allocations: 12.81 MB / 0.7967 GB, free: 4.953 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002895/0.9486, allocations: 223.8 kB / 0.7969 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.11/3.059, allocations: 0 / 0.7969 GB, free: 4.703 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 & /home/hudson/saved_omc/OMSimulator/install/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)