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.001393/0.001393, 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.001708/0.001708, allocations: 192.6 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.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7598/0.7598, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 62.88 kB / 0.5019 GB, free: 3.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3662, allocations: 80.2 MB / 0.5802 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.1853/0.5516, allocations: 176 MB / 0.752 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01049/0.5622, allocations: 8.712 MB / 0.7605 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007986/0.563, allocations: 23.88 kB / 0.7606 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009212/0.5639, allocations: 293.8 kB / 0.7609 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0009377/0.5649, allocations: 306.4 kB / 0.7611 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.566, allocations: 380 kB / 0.7615 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001356/0.5674, allocations: 1.148 MB / 0.7626 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009259/0.5683, allocations: 0.5842 MB / 0.7632 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005349/0.5737, allocations: 2.059 MB / 0.7652 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005997/0.5743, allocations: 362.4 kB / 0.7656 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.5744, allocations: 40 kB / 0.7656 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002831/0.5747, allocations: 71.97 kB / 0.7657 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000262/0.575, allocations: 259.3 kB / 0.7659 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002914/0.5753, allocations: 290.4 kB / 0.7662 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006248/0.5759, allocations: 0.619 MB / 0.7668 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.5759, allocations: 0 / 0.7668 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5759, allocations: 0 / 0.7668 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.5759, allocations: 0 / 0.7668 GB, free: 1.723 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.00103/0.577, allocations: 0.8224 MB / 0.7676 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.577, allocations: 15.97 kB / 0.7676 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/0.5771, allocations: 98.5 kB / 0.7677 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.951e-05/0.5773, allocations: 63.25 kB / 0.7678 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005326/0.5778, allocations: 418.2 kB / 0.7682 GB, free: 228 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.841e-05/0.5778, allocations: 45.3 kB / 0.7682 GB, free: 180 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.209e-05/0.5779, allocations: 52 kB / 0.7683 GB, free: 128 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009853/0.5789, allocations: 0.7119 MB / 0.7689 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.5789, allocations: 3.938 kB / 0.769 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.208e-05/0.579, allocations: 20 kB / 0.769 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.975e-05/0.579, allocations: 35.92 kB / 0.769 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000628/0.5797, allocations: 375.4 kB / 0.7694 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002412/0.5821, allocations: 3.235 MB / 0.7725 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.5823, allocations: 218.1 kB / 0.7727 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.5825, allocations: 128.6 kB / 0.7729 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.5826, allocations: 11.88 kB / 0.7729 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.5826, allocations: 42.5 kB / 0.7729 GB, free: 11 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.5826, allocations: 0 / 0.7729 GB, free: 11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006779/0.5833, allocations: 249.8 kB / 0.7731 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.5834, allocations: 298.7 kB / 0.7734 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007116/0.5841, allocations: 0.6799 MB / 0.7741 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.5842, allocations: 29.7 kB / 0.7741 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.5844, allocations: 264.2 kB / 0.7744 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.5844, allocations: 39.53 kB / 0.7744 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.5845, allocations: 29.7 kB / 0.7744 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.5846, allocations: 370.8 kB / 0.7748 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.5847, allocations: 39.95 kB / 0.7748 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.5849, allocations: 93.11 kB / 0.7749 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/0.5852, allocations: 129 kB / 0.775 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5852, allocations: 0 / 0.775 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003338/0.5855, allocations: 192.7 kB / 0.7752 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.5855, allocations: 10.19 kB / 0.7752 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5855, allocations: 0 / 0.7752 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.5856, allocations: 4 kB / 0.7752 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.5858, allocations: 39.95 kB / 0.7753 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.5858, allocations: 8.188 kB / 0.7753 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.586, allocations: 51.36 kB / 0.7753 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.586, allocations: 8.188 kB / 0.7753 GB, free: 8.355 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.0001939/0.5862, allocations: 205.7 kB / 0.7755 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/0.5865, allocations: 67.12 kB / 0.7756 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.194e-05/0.5865, allocations: 56.33 kB / 0.7757 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.87e-06/0.5866, allocations: 4 kB / 0.7757 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5866, allocations: 4 kB / 0.7757 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.5866, allocations: 11.98 kB / 0.7757 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/0.5879, allocations: 1.297 MB / 0.7769 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.5879, allocations: 4 kB / 0.7769 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/0.5881, allocations: 51.95 kB / 0.777 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.5881, allocations: 0 / 0.777 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.5882, allocations: 4.109 kB / 0.777 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.5882, allocations: 11.88 kB / 0.777 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.5882, allocations: 4 kB / 0.777 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003649/0.5885, allocations: 334.7 kB / 0.7773 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.5887, allocations: 152.3 kB / 0.7775 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.795e-05/0.5888, allocations: 3.984 kB / 0.7775 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.5889, allocations: 15.94 kB / 0.7775 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.589, allocations: 11.98 kB / 0.7775 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.589, allocations: 8 kB / 0.7775 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005099/0.5895, allocations: 0.4912 MB / 0.778 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5895, allocations: 0 / 0.778 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003811/0.5899, allocations: 80 kB / 0.7781 GB, free: 5.398 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.000997/0.5909, allocations: 0.9158 MB / 0.779 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000336/0.5912, allocations: 103.8 kB / 0.7791 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.5913, allocations: 384 / 0.7791 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.5914, allocations: 71.83 kB / 0.7791 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/0.5928, allocations: 280 kB / 0.7794 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005007/0.5979, allocations: 4.575 MB / 0.7839 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004452/0.5983, allocations: 0.905 MB / 0.7848 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002573/0.5986, allocations: 104.6 kB / 0.7849 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.5988, allocations: 171.4 kB / 0.785 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of SimCode: time 3.9e-07/0.5988, allocations: 0 / 0.785 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1552/0.754, allocations: 13.46 MB / 0.7982 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.859/8.613, allocations: 7.219 kB / 0.7982 GB, free: 0.8594 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)