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.0008674/0.0008679, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.007197/0.007197, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.469/1.469, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.028/1.028, allocations: 135.3 MB / 426.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.0003799, allocations: 8.5 kB / 0.5076 GB, free: 4.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1841, allocations: 82.31 MB / 0.588 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.5481/0.7322, allocations: 171.4 MB / 0.7554 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01496/0.7472, allocations: 8.577 MB / 0.7638 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.7484, allocations: 18.31 kB / 0.7638 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.7495, allocations: 239.8 kB / 0.764 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001261/0.7508, allocations: 293 kB / 0.7643 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.7522, allocations: 335.2 kB / 0.7646 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002678/0.7549, allocations: 1.614 MB / 0.7662 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.7561, allocations: 498.8 kB / 0.7667 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006596/0.7627, allocations: 1.903 MB / 0.7685 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007529/0.7635, allocations: 358.3 kB / 0.7689 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.949e-05/0.7636, allocations: 20 kB / 0.7689 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002701/0.7638, allocations: 51.97 kB / 0.7689 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003584/0.7642, allocations: 243.4 kB / 0.7692 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004014/0.7646, allocations: 284.2 kB / 0.7694 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009748/0.7656, allocations: 0.5799 MB / 0.77 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.7656, allocations: 4 kB / 0.77 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of FrontEnd: time 5.13e-06/0.7656, allocations: 0 / 0.77 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.7657, allocations: 3.938 kB / 0.77 GB, free: 2.082 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.001394/0.7671, allocations: 0.7196 MB / 0.7707 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.7671, allocations: 12.03 kB / 0.7707 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.7673, allocations: 64.69 kB / 0.7708 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007866/0.7681, allocations: 414.2 kB / 0.7712 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.724e-05/0.7682, allocations: 37.25 kB / 0.7712 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.7683, allocations: 55.98 kB / 0.7713 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.7699, allocations: 0.7066 MB / 0.772 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/0.77, allocations: 11.88 kB / 0.772 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.961e-05/0.77, allocations: 27.92 kB / 0.772 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.493e-05/0.7701, allocations: 35.98 kB / 0.772 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.7712, allocations: 376.4 kB / 0.7724 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003853/0.775, allocations: 3.235 MB / 0.7756 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003601/0.7754, allocations: 222.1 kB / 0.7758 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002926/0.7757, allocations: 137.4 kB / 0.7759 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.7757, allocations: 8 kB / 0.7759 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.7758, allocations: 46.44 kB / 0.7759 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 2.084e-06/0.7758, allocations: 0 / 0.7759 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.001126/0.7769, allocations: 269.8 kB / 0.7762 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001598/0.7771, allocations: 290.7 kB / 0.7765 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.7783, allocations: 0.6839 MB / 0.7772 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.7784, allocations: 33.7 kB / 0.7772 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003498/0.7787, allocations: 264.2 kB / 0.7774 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.94e-05/0.7788, allocations: 31.55 kB / 0.7775 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.7788, allocations: 17.72 kB / 0.7775 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0003302/0.7792, allocations: 370.8 kB / 0.7778 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.7794, allocations: 39.97 kB / 0.7779 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.7796, allocations: 105 kB / 0.778 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004409/0.7801, allocations: 133 kB / 0.7781 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.7801, allocations: 0 / 0.7781 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005484/0.7806, allocations: 208.9 kB / 0.7783 GB, free: 9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.7807, allocations: 7.938 kB / 0.7783 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.7807, allocations: 4 kB / 0.7783 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.7807, allocations: 0 / 0.7783 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000346/0.7811, allocations: 64.27 kB / 0.7784 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.7811, allocations: 4 kB / 0.7784 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/0.7815, allocations: 61.73 kB / 0.7784 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/0.7815, allocations: 7.938 kB / 0.7784 GB, free: 8.855 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.0002985/0.7819, allocations: 201.8 kB / 0.7786 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003572/0.7823, allocations: 67.19 kB / 0.7787 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/0.7824, allocations: 64.5 kB / 0.7788 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-06/0.7824, allocations: 4 kB / 0.7788 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.7825, allocations: 3.938 kB / 0.7788 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.7825, allocations: 4 kB / 0.7788 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002233/0.7847, allocations: 1.304 MB / 0.78 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.7847, allocations: 0 / 0.78 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003071/0.7851, allocations: 56.23 kB / 0.7801 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.7851, allocations: 4 kB / 0.7801 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.7851, allocations: 4 kB / 0.7801 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/0.7851, allocations: 7.938 kB / 0.7801 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-05/0.7851, allocations: 7.938 kB / 0.7801 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006921/0.7858, allocations: 346.4 kB / 0.7805 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002265/0.7861, allocations: 148.3 kB / 0.7806 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.405e-05/0.7862, allocations: 4 kB / 0.7806 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003356/0.7865, allocations: 23.98 kB / 0.7806 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.361e-05/0.7866, allocations: 16.73 kB / 0.7806 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.7866, allocations: 4 kB / 0.7806 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008577/0.7875, allocations: 0.4951 MB / 0.7811 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7875, allocations: 0 / 0.7811 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006319/0.7881, allocations: 87.94 kB / 0.7812 GB, free: 5.855 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.0004108/0.7885, allocations: 132.4 kB / 0.7813 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004723/0.789, allocations: 115.9 kB / 0.7814 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.7891, allocations: 0 / 0.7814 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000293/0.7894, allocations: 71.83 kB / 0.7815 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002389/0.7918, allocations: 281.2 kB / 0.7818 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.7939, allocations: 1.028 MB / 0.7828 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006288/0.7945, allocations: 0.9052 MB / 0.7837 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003626/0.7949, allocations: 107.3 kB / 0.7838 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.913e-05/0.795, allocations: 35.44 kB / 0.7838 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of SimCode: time 8.01e-07/0.795, allocations: 0 / 0.7838 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of Templates: time 0.02213/0.8171, allocations: 7.994 MB / 0.7916 GB, free: 11.29 MB / 0.6075 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)