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: translateModel(IDEAS.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h") translateModel(IDEAS.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001039/0.001039, allocations: 110.3 kB / 16.37 MB, free: 6.012 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.001053/0.001053, allocations: 194.6 kB / 17.31 MB, free: 5.613 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7974/0.7974, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 67.88 kB / 0.5068 GB, free: 7.645 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3422, allocations: 80.9 MB / 0.5858 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.4903/0.8326, allocations: 176 MB / 0.7576 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008173/0.8408, allocations: 8.723 MB / 0.7661 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006564/0.8415, allocations: 22.56 kB / 0.7661 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007233/0.8422, allocations: 298.6 kB / 0.7664 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006774/0.843, allocations: 304.2 kB / 0.7667 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.844, allocations: 374 kB / 0.7671 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001239/0.8452, allocations: 1.152 MB / 0.7682 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007841/0.846, allocations: 0.591 MB / 0.7688 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004405/0.8504, allocations: 2.063 MB / 0.7708 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004381/0.8509, allocations: 347.1 kB / 0.7711 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.619e-05/0.851, allocations: 40 kB / 0.7712 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.8512, allocations: 83.89 kB / 0.7712 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.8514, allocations: 265 kB / 0.7715 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003271/0.8517, allocations: 278.8 kB / 0.7718 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000683/0.8524, allocations: 0.6472 MB / 0.7724 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.8524, allocations: 0 / 0.7724 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8524, allocations: 0.9688 kB / 0.7724 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.8524, allocations: 0 / 0.7724 GB, free: 1.449 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.001044/0.8535, allocations: 0.8204 MB / 0.7732 GB, free: 16.92 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.8535, allocations: 12.45 kB / 0.7732 GB, free: 16.92 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.305e-05/0.8536, allocations: 71.77 kB / 0.7733 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006304/0.8543, allocations: 441.1 kB / 0.7737 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.8543, allocations: 41.03 kB / 0.7737 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.512e-05/0.8544, allocations: 55.75 kB / 0.7738 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007821/0.8551, allocations: 0.7024 MB / 0.7745 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.8552, allocations: 9.562 kB / 0.7745 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.011e-05/0.8552, allocations: 19.5 kB / 0.7745 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.279e-05/0.8553, allocations: 39.03 kB / 0.7745 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005192/0.8558, allocations: 371.8 kB / 0.7749 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002411/0.8582, allocations: 3.216 MB / 0.778 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.8584, allocations: 218.8 kB / 0.7782 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.8586, allocations: 132.5 kB / 0.7784 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.8586, allocations: 3.875 kB / 0.7784 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.8586, allocations: 43.84 kB / 0.7784 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 2.013e-06/0.8586, allocations: 0.7812 kB / 0.7784 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006588/0.8593, allocations: 254.8 kB / 0.7787 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/0.8595, allocations: 290.6 kB / 0.7789 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006342/0.8601, allocations: 0.689 MB / 0.7796 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.8601, allocations: 28.11 kB / 0.7796 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.8603, allocations: 270.9 kB / 0.7799 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.8603, allocations: 31.34 kB / 0.7799 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.543e-05/0.8604, allocations: 31.02 kB / 0.78 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.8605, allocations: 369.2 kB / 0.7803 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.626e-05/0.8606, allocations: 35.61 kB / 0.7803 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.8608, allocations: 96.12 kB / 0.7804 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.861, allocations: 129.1 kB / 0.7806 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.861, allocations: 2.344 kB / 0.7806 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003053/0.8613, allocations: 189.5 kB / 0.7807 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.8613, allocations: 5.031 kB / 0.7807 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.8614, allocations: 5.75 kB / 0.7807 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.8614, allocations: 4.469 kB / 0.7808 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.8616, allocations: 49.55 kB / 0.7808 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.8616, allocations: 3.188 kB / 0.7808 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.8618, allocations: 54.36 kB / 0.7809 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.8618, allocations: 9.25 kB / 0.7809 GB, free: 12.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.0001808/0.862, allocations: 195.8 kB / 0.7811 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002199/0.8623, allocations: 66.3 kB / 0.7811 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.389e-05/0.8623, allocations: 61.5 kB / 0.7812 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.8624, allocations: 3.688 kB / 0.7812 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.8624, allocations: 4.969 kB / 0.7812 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.8624, allocations: 7.281 kB / 0.7812 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.8637, allocations: 1.303 MB / 0.7825 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.8637, allocations: 2.094 kB / 0.7825 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.8639, allocations: 52.52 kB / 0.7825 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.8639, allocations: 1.031 kB / 0.7825 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.8639, allocations: 5 kB / 0.7825 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.8639, allocations: 4 kB / 0.7825 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.8639, allocations: 3.375 kB / 0.7825 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003427/0.8643, allocations: 338.4 kB / 0.7828 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/0.8645, allocations: 151.7 kB / 0.783 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.455e-05/0.8645, allocations: 5.062 kB / 0.783 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.8647, allocations: 9.219 kB / 0.783 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.8648, allocations: 19.42 kB / 0.783 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.8648, allocations: 6.344 kB / 0.783 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004342/0.8652, allocations: 0.495 MB / 0.7835 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.12e-07/0.8652, allocations: 0 / 0.7835 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003678/0.8656, allocations: 81.61 kB / 0.7836 GB, free: 10.84 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.0002545/0.8659, allocations: 132.9 kB / 0.7837 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002678/0.8661, allocations: 111.8 kB / 0.7838 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.8661, allocations: 0 / 0.7838 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.8663, allocations: 62.73 kB / 0.7839 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.8674, allocations: 285.4 kB / 0.7842 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.8684, allocations: 0.8727 MB / 0.785 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.8688, allocations: 0.9025 MB / 0.7859 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002034/0.869, allocations: 104.2 kB / 0.786 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.596e-05/0.8691, allocations: 35.7 kB / 0.786 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of SimCode: time 3.4e-07/0.8691, allocations: 0.875 kB / 0.786 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of Templates: time 0.01207/0.8812, allocations: 8.414 MB / 0.7942 GB, free: 9.211 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)