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.001701/0.001701, allocations: 110 kB / 16.37 MB, free: 6.469 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.001739/0.001739, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7663/0.7663, allocations: 132.2 MB / 423.3 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 63.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3407, allocations: 80.17 MB / 0.5815 GB, free: 27.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.4896/0.8304, allocations: 176 MB / 0.7534 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008156/0.8386, allocations: 8.702 MB / 0.7618 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006464/0.8392, allocations: 22.06 kB / 0.7619 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007355/0.84, allocations: 297.4 kB / 0.7622 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006828/0.8407, allocations: 308.1 kB / 0.7624 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009524/0.8417, allocations: 378.7 kB / 0.7628 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001369/0.8431, allocations: 1.152 MB / 0.7639 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008935/0.844, allocations: 0.5894 MB / 0.7645 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004687/0.8487, allocations: 2.059 MB / 0.7665 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000581/0.8493, allocations: 349.9 kB / 0.7669 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.8494, allocations: 40.19 kB / 0.7669 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002591/0.8497, allocations: 87.61 kB / 0.767 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002221/0.8499, allocations: 262.2 kB / 0.7672 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003182/0.8502, allocations: 279.6 kB / 0.7675 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005861/0.8508, allocations: 0.6446 MB / 0.7681 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.8508, allocations: 3.062 kB / 0.7681 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8508, allocations: 0 / 0.7681 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.8508, allocations: 0.9062 kB / 0.7681 GB, free: 1.543 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.0009728/0.8518, allocations: 0.8209 MB / 0.7689 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.8519, allocations: 10.48 kB / 0.7689 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.068e-05/0.852, allocations: 66.19 kB / 0.769 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006093/0.8526, allocations: 440.7 kB / 0.7694 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/0.8526, allocations: 44.83 kB / 0.7695 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.536e-05/0.8527, allocations: 53.06 kB / 0.7695 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.8537, allocations: 0.7016 MB / 0.7702 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.8537, allocations: 5.812 kB / 0.7702 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.638e-05/0.8538, allocations: 26.61 kB / 0.7702 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.63e-05/0.8539, allocations: 37.67 kB / 0.7703 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006715/0.8545, allocations: 374.2 kB / 0.7706 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002343/0.8569, allocations: 3.218 MB / 0.7738 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.8571, allocations: 221.8 kB / 0.774 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.8572, allocations: 123.2 kB / 0.7741 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.8573, allocations: 7.203 kB / 0.7741 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.8573, allocations: 51.41 kB / 0.7742 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.8573, allocations: 1 kB / 0.7742 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0007082/0.858, allocations: 247.8 kB / 0.7744 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.8582, allocations: 293.9 kB / 0.7747 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007517/0.8589, allocations: 0.6858 MB / 0.7753 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.859, allocations: 31.2 kB / 0.7754 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.8591, allocations: 267 kB / 0.7756 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.8592, allocations: 34 kB / 0.7757 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.337e-05/0.8592, allocations: 31.84 kB / 0.7757 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.8594, allocations: 368.5 kB / 0.776 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.8595, allocations: 38.05 kB / 0.7761 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.8597, allocations: 95.89 kB / 0.7762 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/0.8599, allocations: 130.6 kB / 0.7763 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.8599, allocations: 0.875 kB / 0.7763 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003484/0.8603, allocations: 189 kB / 0.7765 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.8603, allocations: 6.156 kB / 0.7765 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.8603, allocations: 2.062 kB / 0.7765 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.8603, allocations: 2.844 kB / 0.7765 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.8606, allocations: 46.97 kB / 0.7765 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.8606, allocations: 5 kB / 0.7765 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.8608, allocations: 52.59 kB / 0.7766 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.8608, allocations: 8.938 kB / 0.7766 GB, free: 12.54 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.0002133/0.861, allocations: 202.6 kB / 0.7768 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/0.8613, allocations: 62.78 kB / 0.7768 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.33e-05/0.8614, allocations: 60.58 kB / 0.7769 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.8614, allocations: 3.406 kB / 0.7769 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.8614, allocations: 8.438 kB / 0.7769 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.8614, allocations: 5.203 kB / 0.7769 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.8628, allocations: 1.299 MB / 0.7782 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.8628, allocations: 3.219 kB / 0.7782 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.863, allocations: 43.02 kB / 0.7782 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.863, allocations: 4.406 kB / 0.7782 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.863, allocations: 15.75 kB / 0.7782 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.863, allocations: 6.125 kB / 0.7783 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.863, allocations: 5.25 kB / 0.7783 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003837/0.8634, allocations: 331.8 kB / 0.7786 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/0.8636, allocations: 153.8 kB / 0.7787 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.855e-05/0.8637, allocations: 7.469 kB / 0.7787 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.8638, allocations: 8.109 kB / 0.7787 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.8639, allocations: 19.78 kB / 0.7788 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.8639, allocations: 5.875 kB / 0.7788 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004619/0.8644, allocations: 0.4961 MB / 0.7792 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8644, allocations: 0.9062 kB / 0.7792 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003732/0.8648, allocations: 78.31 kB / 0.7793 GB, free: 10.94 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.0002898/0.8651, allocations: 138.6 kB / 0.7795 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002792/0.8654, allocations: 104.8 kB / 0.7796 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.8654, allocations: 0.875 kB / 0.7796 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.8655, allocations: 63.98 kB / 0.7796 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.8667, allocations: 282.3 kB / 0.7799 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.8677, allocations: 0.8623 MB / 0.7807 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.8681, allocations: 0.9054 MB / 0.7816 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002061/0.8683, allocations: 112.9 kB / 0.7817 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.488e-05/0.8684, allocations: 35.38 kB / 0.7818 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/0.8684, allocations: 0 / 0.7818 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of Templates: time 0.013/0.8814, allocations: 8.403 MB / 0.79 GB, free: 9.34 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 gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)