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.001526/0.001526, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001685/0.001685, allocations: 189.7 kB / 16.25 MB, free: 6.629 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.67/1.67, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.205/1.205, allocations: 135.1 MB / 425.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 64.53 kB / 0.505 GB, free: 5.605 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1852, allocations: 80.93 MB / 0.584 GB, free: 4.84 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.4473/0.6325, allocations: 173.6 MB / 0.7535 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009012/0.6415, allocations: 8.631 MB / 0.762 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000609/0.6422, allocations: 23.81 kB / 0.762 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007586/0.643, allocations: 246.4 kB / 0.7622 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.6441, allocations: 286.7 kB / 0.7625 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009941/0.6451, allocations: 337.7 kB / 0.7628 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001196/0.6463, allocations: 1.165 MB / 0.764 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007463/0.6471, allocations: 0.553 MB / 0.7645 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004868/0.6519, allocations: 2.001 MB / 0.7665 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004666/0.6524, allocations: 378.3 kB / 0.7668 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.901e-05/0.6525, allocations: 40 kB / 0.7669 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002073/0.6527, allocations: 75.97 kB / 0.7669 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002298/0.653, allocations: 247.4 kB / 0.7672 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002541/0.6532, allocations: 286.5 kB / 0.7674 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006539/0.6539, allocations: 0.6229 MB / 0.768 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.6539, allocations: 0 / 0.768 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.874e-06/0.6539, allocations: 4 kB / 0.768 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.789e-06/0.6539, allocations: 0 / 0.768 GB, free: 0.8047 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.0009843/0.6549, allocations: 0.8288 MB / 0.7689 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.655, allocations: 8.031 kB / 0.7689 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.711e-05/0.6551, allocations: 102.4 kB / 0.769 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.538e-05/0.6552, allocations: 63.25 kB / 0.769 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005942/0.6558, allocations: 414.2 kB / 0.7694 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.446e-05/0.6558, allocations: 41.31 kB / 0.7695 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.381e-05/0.6559, allocations: 59.98 kB / 0.7695 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009743/0.6569, allocations: 0.6911 MB / 0.7702 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.6569, allocations: 7.938 kB / 0.7702 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.753e-05/0.6569, allocations: 31.92 kB / 0.7702 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.617e-05/0.657, allocations: 23.98 kB / 0.7703 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006449/0.6577, allocations: 383.3 kB / 0.7706 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002377/0.66, allocations: 3.227 MB / 0.7738 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.6603, allocations: 222.1 kB / 0.774 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.6605, allocations: 132.5 kB / 0.7741 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.6605, allocations: 0 / 0.7741 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.6605, allocations: 50.44 kB / 0.7742 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.6605, allocations: 0 / 0.7742 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006383/0.6612, allocations: 249.7 kB / 0.7744 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/0.6613, allocations: 286.7 kB / 0.7747 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007204/0.6621, allocations: 0.6877 MB / 0.7753 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.6621, allocations: 25.7 kB / 0.7754 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/0.6624, allocations: 280 kB / 0.7756 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.825e-05/0.6624, allocations: 39.69 kB / 0.7757 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.195e-05/0.6625, allocations: 25.72 kB / 0.7757 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.6626, allocations: 366.8 kB / 0.776 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.6627, allocations: 40.23 kB / 0.7761 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.6629, allocations: 97.09 kB / 0.7762 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.6632, allocations: 125 kB / 0.7763 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6632, allocations: 7.938 kB / 0.7763 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003221/0.6635, allocations: 192.8 kB / 0.7765 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.6635, allocations: 7.938 kB / 0.7765 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.6635, allocations: 0 / 0.7765 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.6635, allocations: 4 kB / 0.7765 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.6638, allocations: 48.08 kB / 0.7765 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.6638, allocations: 0 / 0.7765 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.664, allocations: 61.23 kB / 0.7766 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.664, allocations: 11.98 kB / 0.7766 GB, free: 7.43 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.000191/0.6642, allocations: 193.8 kB / 0.7768 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002009/0.6644, allocations: 63.19 kB / 0.7769 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.815e-05/0.6645, allocations: 68.31 kB / 0.7769 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.6645, allocations: 4 kB / 0.7769 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.6646, allocations: 4 kB / 0.7769 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.6646, allocations: 7.938 kB / 0.7769 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.6659, allocations: 1.297 MB / 0.7782 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.6659, allocations: 4 kB / 0.7782 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.6661, allocations: 43.89 kB / 0.7782 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.6661, allocations: 288 / 0.7782 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.6661, allocations: 8 kB / 0.7783 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.6661, allocations: 4 kB / 0.7783 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.6661, allocations: 7.938 kB / 0.7783 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003821/0.6665, allocations: 330.5 kB / 0.7786 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.6667, allocations: 160.3 kB / 0.7787 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.532e-05/0.6667, allocations: 4 kB / 0.7787 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.6669, allocations: 19.97 kB / 0.7788 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.667, allocations: 19.86 kB / 0.7788 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.667, allocations: 8 kB / 0.7788 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004917/0.6675, allocations: 0.4912 MB / 0.7793 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6675, allocations: 0 / 0.7793 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003581/0.6678, allocations: 79.94 kB / 0.7793 GB, free: 4.477 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.0009064/0.6688, allocations: 0.9175 MB / 0.7802 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003007/0.6691, allocations: 103.8 kB / 0.7803 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.6691, allocations: 0 / 0.7803 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.6692, allocations: 68.72 kB / 0.7804 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.6705, allocations: 285.5 kB / 0.7807 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00529/0.6758, allocations: 4.667 MB / 0.7852 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004553/0.6763, allocations: 0.9089 MB / 0.7861 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002405/0.6765, allocations: 102.8 kB / 0.7862 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.6767, allocations: 175.3 kB / 0.7864 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.6767, allocations: 0 / 0.7864 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.107/1.783, allocations: 13.28 MB / 0.7994 GB, free: 56 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003268/1.784, allocations: 229.5 kB / 0.7996 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.892/4.676, allocations: 0 / 0.7996 GB, free: 15.8 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)