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.001474/0.00148, allocations: 101.1 kB / 16.27 MB, free: 5.965 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.001592/0.001592, allocations: 193.2 kB / 17.2 MB, free: 5.59 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.369/1.369, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8366/0.8366, allocations: 135.1 MB / 426.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 63.91 kB / 0.506 GB, free: 8.359 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3805, allocations: 80.9 MB / 0.585 GB, free: 25.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.5545/0.935, allocations: 176 MB / 0.7568 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009922/0.945, allocations: 8.71 MB / 0.7654 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.9461, allocations: 25.14 kB / 0.7654 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009768/0.9472, allocations: 297.5 kB / 0.7657 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009401/0.9481, allocations: 305.6 kB / 0.766 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.9492, allocations: 380 kB / 0.7663 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001589/0.9508, allocations: 1.147 MB / 0.7674 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.9519, allocations: 0.5965 MB / 0.768 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005736/0.9576, allocations: 2.056 MB / 0.77 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005937/0.9582, allocations: 346.8 kB / 0.7704 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.044e-05/0.9583, allocations: 40.72 kB / 0.7704 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002423/0.9586, allocations: 87 kB / 0.7705 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000228/0.9588, allocations: 255.4 kB / 0.7707 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004047/0.9592, allocations: 283.3 kB / 0.771 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008292/0.96, allocations: 0.6186 MB / 0.7716 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.96, allocations: 0 / 0.7716 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.292e-06/0.9601, allocations: 0.8125 kB / 0.7716 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.9601, allocations: 0 / 0.7716 GB, free: 1.52 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.001068/0.9611, allocations: 0.8306 MB / 0.7724 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.9612, allocations: 12.97 kB / 0.7724 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.411e-05/0.9613, allocations: 68.12 kB / 0.7725 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004534/0.9618, allocations: 409.8 kB / 0.7729 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/0.9618, allocations: 43.45 kB / 0.7729 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.85e-05/0.9619, allocations: 54.56 kB / 0.773 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000834/0.9627, allocations: 0.6987 MB / 0.7737 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.9627, allocations: 5.594 kB / 0.7737 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.409e-05/0.9628, allocations: 24.41 kB / 0.7737 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.466e-05/0.9628, allocations: 40.23 kB / 0.7737 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006662/0.9635, allocations: 373.1 kB / 0.7741 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002635/0.9661, allocations: 3.226 MB / 0.7772 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.9664, allocations: 219.8 kB / 0.7774 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.9666, allocations: 133 kB / 0.7776 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.9666, allocations: 3.656 kB / 0.7776 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.9666, allocations: 50.92 kB / 0.7776 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.9666, allocations: 1.062 kB / 0.7776 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0007032/0.9674, allocations: 250.7 kB / 0.7779 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.9675, allocations: 296.1 kB / 0.7781 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007207/0.9682, allocations: 0.684 MB / 0.7788 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.9682, allocations: 32.58 kB / 0.7788 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.9684, allocations: 270.2 kB / 0.7791 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.9685, allocations: 36.66 kB / 0.7791 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.988e-05/0.9685, allocations: 27.88 kB / 0.7792 GB, free: 13 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.9687, allocations: 366.8 kB / 0.7795 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.9688, allocations: 35.77 kB / 0.7795 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.969, allocations: 99.84 kB / 0.7796 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.9692, allocations: 128.2 kB / 0.7798 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.9692, allocations: 0 / 0.7798 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003308/0.9695, allocations: 190.5 kB / 0.7799 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.9696, allocations: 7.312 kB / 0.7799 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.9696, allocations: 7.828 kB / 0.78 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.9696, allocations: 3.062 kB / 0.78 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.9698, allocations: 42.47 kB / 0.78 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.9698, allocations: 3.188 kB / 0.78 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.9701, allocations: 55.48 kB / 0.7801 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.9701, allocations: 6.812 kB / 0.7801 GB, free: 12.5 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.0001804/0.9703, allocations: 201 kB / 0.7802 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002132/0.9705, allocations: 62.22 kB / 0.7803 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.238e-05/0.9706, allocations: 63.92 kB / 0.7804 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.9706, allocations: 3.25 kB / 0.7804 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.9706, allocations: 4 kB / 0.7804 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.545e-06/0.9706, allocations: 9.859 kB / 0.7804 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.9719, allocations: 1.302 MB / 0.7817 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.9719, allocations: 1.094 kB / 0.7817 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.9721, allocations: 45.09 kB / 0.7817 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.9721, allocations: 2.188 kB / 0.7817 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.9721, allocations: 12.09 kB / 0.7817 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.9721, allocations: 5.703 kB / 0.7817 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.9722, allocations: 4.344 kB / 0.7817 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003914/0.9726, allocations: 335 kB / 0.782 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.9727, allocations: 155.2 kB / 0.7822 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.94e-05/0.9728, allocations: 3.375 kB / 0.7822 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.973, allocations: 11.67 kB / 0.7822 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.973, allocations: 18.12 kB / 0.7822 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.565e-06/0.973, allocations: 11.09 kB / 0.7822 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000475/0.9735, allocations: 0.4899 MB / 0.7827 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9735, allocations: 0.875 kB / 0.7827 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004238/0.974, allocations: 78.06 kB / 0.7828 GB, free: 10.9 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.0004419/0.9744, allocations: 136 kB / 0.7829 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000363/0.9748, allocations: 107.5 kB / 0.783 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.9748, allocations: 1.062 kB / 0.783 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.975, allocations: 65.81 kB / 0.7831 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.9764, allocations: 283.5 kB / 0.7834 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.9777, allocations: 0.9281 MB / 0.7843 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.9782, allocations: 0.9068 MB / 0.7851 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.127e-05/0.9782, allocations: 36.12 kB / 0.7852 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of SimCode: time 2.21e-07/0.9782, allocations: 0 / 0.7852 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of Templates: time 0.01083/0.9891, allocations: 7.808 MB / 0.7928 GB, free: 9.055 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)