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.001189/0.001189, allocations: 117.6 kB / 16.37 MB, free: 6.016 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.001227/0.001227, allocations: 189.7 kB / 17.3 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.388/1.388, 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/package.mo): time 0.7811/0.7811, allocations: 132.2 MB / 423.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 59.91 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4084/0.4096, allocations: 80.17 MB / 0.5815 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.5351/0.9448, allocations: 176 MB / 0.7533 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007799/0.9526, allocations: 8.701 MB / 0.7618 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007658/0.9534, allocations: 22.84 kB / 0.7619 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007829/0.9543, allocations: 295.5 kB / 0.7622 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007796/0.9551, allocations: 308.3 kB / 0.7624 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009808/0.9561, allocations: 386.6 kB / 0.7628 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001317/0.9574, allocations: 1.146 MB / 0.7639 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008779/0.9583, allocations: 0.597 MB / 0.7645 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004718/0.963, allocations: 2.058 MB / 0.7665 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007284/0.9638, allocations: 351.4 kB / 0.7669 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.9639, allocations: 40.92 kB / 0.7669 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002722/0.9642, allocations: 78.84 kB / 0.767 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002175/0.9644, allocations: 261.2 kB / 0.7672 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002857/0.9647, allocations: 286.5 kB / 0.7675 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006291/0.9653, allocations: 0.643 MB / 0.7681 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.9653, allocations: 3.031 kB / 0.7681 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9653, allocations: 0 / 0.7681 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.9654, allocations: 0 / 0.7681 GB, free: 1.527 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.0009839/0.9663, allocations: 0.8272 MB / 0.7689 GB, free: 17 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.9664, allocations: 10.09 kB / 0.7689 GB, free: 17 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.698e-05/0.9665, allocations: 63.81 kB / 0.769 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006206/0.9671, allocations: 442.4 kB / 0.7694 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.9671, allocations: 42.53 kB / 0.7695 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.457e-05/0.9672, allocations: 55.56 kB / 0.7695 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.9682, allocations: 0.6996 MB / 0.7702 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.9683, allocations: 4.656 kB / 0.7702 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.711e-05/0.9683, allocations: 23.33 kB / 0.7702 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.039e-05/0.9684, allocations: 37.62 kB / 0.7703 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000652/0.969, allocations: 371.2 kB / 0.7706 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002346/0.9714, allocations: 3.217 MB / 0.7738 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.9716, allocations: 222.3 kB / 0.774 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.9718, allocations: 126.1 kB / 0.7741 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.9718, allocations: 7.438 kB / 0.7741 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.9719, allocations: 47.3 kB / 0.7741 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 2.024e-06/0.9719, allocations: 2.562 kB / 0.7741 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006805/0.9726, allocations: 248.3 kB / 0.7744 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.9727, allocations: 299.4 kB / 0.7747 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007557/0.9735, allocations: 0.6817 MB / 0.7753 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.9735, allocations: 34.3 kB / 0.7754 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.9737, allocations: 264 kB / 0.7756 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.9737, allocations: 36.94 kB / 0.7757 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-05/0.9738, allocations: 30.94 kB / 0.7757 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.9739, allocations: 368.2 kB / 0.776 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.974, allocations: 37.72 kB / 0.7761 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.9742, allocations: 94.11 kB / 0.7762 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.9745, allocations: 130.3 kB / 0.7763 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.9745, allocations: 0.7812 kB / 0.7763 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004376/0.9749, allocations: 190.3 kB / 0.7765 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.975, allocations: 7.25 kB / 0.7765 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.975, allocations: 4.156 kB / 0.7765 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/0.975, allocations: 2.094 kB / 0.7765 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002465/0.9753, allocations: 41.48 kB / 0.7765 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.9753, allocations: 6.203 kB / 0.7765 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/0.9756, allocations: 55.97 kB / 0.7766 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/0.9756, allocations: 6.625 kB / 0.7766 GB, free: 12.52 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.0002603/0.9759, allocations: 205.1 kB / 0.7768 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002429/0.9761, allocations: 60.66 kB / 0.7768 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.529e-05/0.9762, allocations: 64.12 kB / 0.7769 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.9762, allocations: 3.5 kB / 0.7769 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.9762, allocations: 7.969 kB / 0.7769 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.9763, allocations: 5.781 kB / 0.7769 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/0.9778, allocations: 1.301 MB / 0.7782 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.9779, allocations: 5.75 kB / 0.7782 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.9781, allocations: 40.97 kB / 0.7782 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.9781, allocations: 4.5 kB / 0.7782 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.9781, allocations: 10.59 kB / 0.7782 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.9781, allocations: 9.812 kB / 0.7783 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.9781, allocations: 2.781 kB / 0.7783 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004209/0.9785, allocations: 333.8 kB / 0.7786 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001769/0.9787, allocations: 152.6 kB / 0.7787 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.967e-05/0.9788, allocations: 9.328 kB / 0.7787 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.979, allocations: 7.562 kB / 0.7787 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.979, allocations: 16 kB / 0.7788 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.188e-06/0.979, allocations: 9.812 kB / 0.7788 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004787/0.9795, allocations: 0.4955 MB / 0.7792 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9795, allocations: 0.9062 kB / 0.7792 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003796/0.9799, allocations: 77.52 kB / 0.7793 GB, free: 10.93 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.0003185/0.9802, allocations: 135.3 kB / 0.7795 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002897/0.9805, allocations: 110.8 kB / 0.7796 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.9806, allocations: 0 / 0.7796 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.9807, allocations: 61.91 kB / 0.7796 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.9818, allocations: 281.8 kB / 0.7799 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.983, allocations: 0.8645 MB / 0.7807 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/0.9834, allocations: 0.9082 MB / 0.7816 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000234/0.9837, allocations: 108.3 kB / 0.7817 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.066e-05/0.9838, allocations: 35.06 kB / 0.7818 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.9838, allocations: 0 / 0.7818 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of Templates: time 0.01779/1.002, allocations: 8.405 MB / 0.79 GB, free: 9.32 MB / 0.5919 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)