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.001213/0.001213, allocations: 108 kB / 15.61 MB, free: 148 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.001252/0.001252, allocations: 193.5 kB / 16.53 MB, free: 6.656 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.261/1.261, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8735/0.8735, allocations: 135.1 MB / 425.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 60.12 kB / 0.5054 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1323, allocations: 80.93 MB / 0.5845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.3981/0.5305, allocations: 176 MB / 0.7563 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009694/0.5402, allocations: 8.716 MB / 0.7648 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007849/0.541, allocations: 23.88 kB / 0.7648 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008824/0.542, allocations: 293.8 kB / 0.7651 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009611/0.5429, allocations: 306.4 kB / 0.7654 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.5442, allocations: 371.7 kB / 0.7658 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001742/0.5459, allocations: 1.154 MB / 0.7669 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.547, allocations: 0.5882 MB / 0.7675 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005375/0.5524, allocations: 2.058 MB / 0.7695 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005766/0.553, allocations: 350.5 kB / 0.7698 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.55e-05/0.5531, allocations: 40 kB / 0.7699 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002576/0.5534, allocations: 79.95 kB / 0.7699 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002632/0.5537, allocations: 263.3 kB / 0.7702 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003805/0.554, allocations: 290.4 kB / 0.7705 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008298/0.5549, allocations: 0.6151 MB / 0.7711 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.5549, allocations: 0 / 0.7711 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5549, allocations: 0 / 0.7711 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.517e-05/0.5549, allocations: 0 / 0.7711 GB, free: 13.78 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.00139/0.5563, allocations: 0.8211 MB / 0.7719 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.5564, allocations: 16.02 kB / 0.7719 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001251/0.5565, allocations: 106.4 kB / 0.772 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.5567, allocations: 67.25 kB / 0.772 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005782/0.5572, allocations: 414.2 kB / 0.7724 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.018e-05/0.5573, allocations: 41.31 kB / 0.7725 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.571e-05/0.5574, allocations: 55.98 kB / 0.7725 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.5584, allocations: 0.6911 MB / 0.7732 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.5584, allocations: 7.938 kB / 0.7732 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.63e-05/0.5585, allocations: 31.92 kB / 0.7732 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.182e-05/0.5585, allocations: 27.97 kB / 0.7733 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006295/0.5592, allocations: 375.4 kB / 0.7736 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002449/0.5616, allocations: 3.239 MB / 0.7768 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.5619, allocations: 222.1 kB / 0.777 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.5621, allocations: 127.7 kB / 0.7771 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.5621, allocations: 8 kB / 0.7771 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.5621, allocations: 42.44 kB / 0.7772 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 2.624e-06/0.5622, allocations: 0 / 0.7772 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006754/0.5628, allocations: 249.8 kB / 0.7774 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.5629, allocations: 302.7 kB / 0.7777 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006869/0.5636, allocations: 0.6839 MB / 0.7784 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.5637, allocations: 25.7 kB / 0.7784 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.5639, allocations: 268.1 kB / 0.7786 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.5639, allocations: 35.53 kB / 0.7787 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.047e-05/0.564, allocations: 33.7 kB / 0.7787 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.5641, allocations: 366.8 kB / 0.7791 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.5642, allocations: 43.95 kB / 0.7791 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.5644, allocations: 97.05 kB / 0.7792 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/0.5646, allocations: 125 kB / 0.7793 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5646, allocations: 3.938 kB / 0.7793 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003482/0.565, allocations: 192.9 kB / 0.7795 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.565, allocations: 11.94 kB / 0.7795 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.565, allocations: 0 / 0.7795 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.5651, allocations: 4 kB / 0.7795 GB, free: 4.512 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.5653, allocations: 35.95 kB / 0.7796 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.5653, allocations: 4.328 kB / 0.7796 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.5655, allocations: 51.36 kB / 0.7796 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.5655, allocations: 12 kB / 0.7796 GB, free: 4.41 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.0001804/0.5657, allocations: 209.7 kB / 0.7798 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/0.5659, allocations: 63.19 kB / 0.7799 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.043e-05/0.566, allocations: 60.33 kB / 0.7799 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.566, allocations: 4 kB / 0.7799 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.566, allocations: 7.984 kB / 0.7799 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.5661, allocations: 0 / 0.7799 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.5673, allocations: 1.297 MB / 0.7812 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.5673, allocations: 4.281 kB / 0.7812 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.5675, allocations: 43.89 kB / 0.7813 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.5675, allocations: 4 kB / 0.7813 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.5675, allocations: 4 kB / 0.7813 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.908e-06/0.5675, allocations: 7.125 kB / 0.7813 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.5676, allocations: 7.938 kB / 0.7813 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003608/0.5679, allocations: 334.4 kB / 0.7816 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.5681, allocations: 148.3 kB / 0.7817 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.764e-05/0.5681, allocations: 8 kB / 0.7817 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.5683, allocations: 8 kB / 0.7818 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.5684, allocations: 15.92 kB / 0.7818 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.5684, allocations: 4 kB / 0.7818 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005004/0.5689, allocations: 0.4912 MB / 0.7823 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5689, allocations: 4 kB / 0.7823 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003717/0.5693, allocations: 79.94 kB / 0.7823 GB, free: 1.469 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.0007774/0.57, allocations: 0.9165 MB / 0.7832 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002975/0.5703, allocations: 107.8 kB / 0.7833 GB, free: 412 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5704, allocations: 0 / 0.7833 GB, free: 412 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.5705, allocations: 72.77 kB / 0.7834 GB, free: 340 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.5718, allocations: 288.3 kB / 0.7837 GB, free: 80 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004918/0.5767, allocations: 4.575 MB / 0.7881 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.5772, allocations: 0.8972 MB / 0.789 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002548/0.5774, allocations: 104.6 kB / 0.7891 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.5776, allocations: 171.4 kB / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.5776, allocations: 0 / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.447/3.025, allocations: 13.46 MB / 0.8024 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.287/12.31, allocations: 12.05 kB / 0.8024 GB, free: 12.91 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)