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: translateModel(IDEAS.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h") translateModel(IDEAS.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00672/0.00672, allocations: 104.2 kB / 15.74 MB, free: 6.059 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.001346/0.001347, allocations: 196.3 kB / 16.68 MB, free: 5.969 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.767/0.767, allocations: 132.2 MB / 422.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 66.83 kB / 0.5813 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1638, allocations: 80.2 MB / 0.6597 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.5876/0.7514, allocations: 176 MB / 0.8315 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01187/0.7633, allocations: 8.7 MB / 0.84 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.7644, allocations: 20.53 kB / 0.84 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009822/0.7654, allocations: 309 kB / 0.8403 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001106/0.7665, allocations: 318.4 kB / 0.8406 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.7678, allocations: 381.8 kB / 0.841 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001485/0.7693, allocations: 1.152 MB / 0.8421 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009485/0.7702, allocations: 0.5817 MB / 0.8427 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004809/0.7751, allocations: 2.135 MB / 0.8448 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004641/0.7755, allocations: 346.6 kB / 0.8451 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.663e-05/0.7756, allocations: 43.59 kB / 0.8452 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/0.7758, allocations: 80.53 kB / 0.8452 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002368/0.7761, allocations: 261.8 kB / 0.8455 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000263/0.7763, allocations: 288.5 kB / 0.8458 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006948/0.777, allocations: 0.6403 MB / 0.8464 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.7771, allocations: 2.188 kB / 0.8464 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7771, allocations: 0 / 0.8464 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.7771, allocations: 0 / 0.8464 GB, free: 3.336 MB / 0.6075 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.001022/0.7781, allocations: 0.8313 MB / 0.8472 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.7782, allocations: 14.41 kB / 0.8472 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.7783, allocations: 63.34 kB / 0.8473 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006851/0.779, allocations: 450.4 kB / 0.8477 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/0.779, allocations: 35.91 kB / 0.8477 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.381e-05/0.7791, allocations: 59.03 kB / 0.8478 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009084/0.78, allocations: 0.7023 MB / 0.8485 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/0.78, allocations: 6.062 kB / 0.8485 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.532e-05/0.7801, allocations: 31.17 kB / 0.8485 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.733e-05/0.7801, allocations: 35.11 kB / 0.8485 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005585/0.7807, allocations: 375.4 kB / 0.8489 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002471/0.7832, allocations: 3.212 MB / 0.852 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.7834, allocations: 213.8 kB / 0.8522 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.7836, allocations: 131.4 kB / 0.8524 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.7836, allocations: 2.094 kB / 0.8524 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.7837, allocations: 56.7 kB / 0.8524 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.7837, allocations: 0 / 0.8524 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10): time 0.0006383/0.7843, allocations: 248.3 kB / 0.8527 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/0.7845, allocations: 287.1 kB / 0.8529 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006755/0.7851, allocations: 0.688 MB / 0.8536 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.7852, allocations: 29.7 kB / 0.8536 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.7854, allocations: 264.1 kB / 0.8539 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.598e-05/0.7854, allocations: 41.64 kB / 0.8539 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.214e-05/0.7855, allocations: 31.08 kB / 0.854 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.7856, allocations: 372.7 kB / 0.8543 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.7857, allocations: 36.06 kB / 0.8543 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.7859, allocations: 92.3 kB / 0.8544 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.7861, allocations: 127.4 kB / 0.8546 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.7861, allocations: 4 kB / 0.8546 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003236/0.7864, allocations: 189.9 kB / 0.8547 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.7865, allocations: 9.219 kB / 0.8548 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.7865, allocations: 2.469 kB / 0.8548 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.7865, allocations: 2.172 kB / 0.8548 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.7867, allocations: 49.39 kB / 0.8548 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.7867, allocations: 2.688 kB / 0.8548 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.7869, allocations: 60.91 kB / 0.8549 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.787, allocations: 11.48 kB / 0.8549 GB, free: 12.1 MB / 0.6231 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.0001886/0.7872, allocations: 196.5 kB / 0.8551 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002006/0.7874, allocations: 59.44 kB / 0.8551 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.809e-05/0.7875, allocations: 61.38 kB / 0.8552 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.7875, allocations: 8.844 kB / 0.8552 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.7875, allocations: 2.5 kB / 0.8552 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/0.7875, allocations: 2.75 kB / 0.8552 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.7888, allocations: 1.298 MB / 0.8565 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.217e-06/0.7888, allocations: 4.531 kB / 0.8565 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.789, allocations: 41.8 kB / 0.8565 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.789, allocations: 4.719 kB / 0.8565 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.789, allocations: 6.062 kB / 0.8565 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.789, allocations: 2.875 kB / 0.8565 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.789, allocations: 10.75 kB / 0.8565 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004022/0.7894, allocations: 337.3 kB / 0.8568 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.7896, allocations: 145.4 kB / 0.857 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.159e-05/0.7896, allocations: 5.25 kB / 0.857 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.7898, allocations: 16.77 kB / 0.857 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/0.7899, allocations: 16.64 kB / 0.857 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.7899, allocations: 5.688 kB / 0.857 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005359/0.7904, allocations: 0.4929 MB / 0.8575 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7904, allocations: 0 / 0.8575 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003894/0.7908, allocations: 86.41 kB / 0.8576 GB, free: 9.883 MB / 0.6231 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.0003391/0.7912, allocations: 150.4 kB / 0.8577 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003204/0.7915, allocations: 112.2 kB / 0.8578 GB, free: 9.711 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.7915, allocations: 0 / 0.8578 GB, free: 9.711 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.7917, allocations: 61.2 kB / 0.8579 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.7928, allocations: 282.3 kB / 0.8582 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.7941, allocations: 0.8678 MB / 0.859 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/0.7946, allocations: 0.9058 MB / 0.8599 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002189/0.7948, allocations: 104.6 kB / 0.86 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.658e-05/0.7949, allocations: 35.44 kB / 0.86 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of SimCode: time 1.563e-06/0.7949, allocations: 4 kB / 0.86 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of Templates: time 0.01501/0.8099, allocations: 8.448 MB / 0.8683 GB, free: 15.58 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.makefile (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 & ./IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)