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.001166/0.001166, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001284/0.001284, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 223.3 MB / 240 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.011/1.011, allocations: 135.3 MB / 426.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003169/0.000317, allocations: 12.44 kB / 0.507 GB, free: 5.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1686, allocations: 82.31 MB / 0.5874 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.4844/0.653, allocations: 159.9 MB / 0.7435 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00859/0.6616, allocations: 8.081 MB / 0.7514 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006505/0.6623, allocations: 20.5 kB / 0.7514 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006298/0.663, allocations: 213.8 kB / 0.7516 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006356/0.6636, allocations: 285.8 kB / 0.7519 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008407/0.6645, allocations: 300.6 kB / 0.7522 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001192/0.6657, allocations: 1.358 MB / 0.7535 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006244/0.6663, allocations: 440.9 kB / 0.754 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003648/0.67, allocations: 1.479 MB / 0.7554 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004107/0.6704, allocations: 330.5 kB / 0.7557 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.908e-05/0.6704, allocations: 20 kB / 0.7557 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.6706, allocations: 63.89 kB / 0.7558 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002149/0.6709, allocations: 235.4 kB / 0.756 GB, free: 348 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.671, allocations: 121.4 kB / 0.7561 GB, free: 220 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004619/0.6715, allocations: 462.9 kB / 0.7566 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.6715, allocations: 0 / 0.7566 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6715, allocations: 0 / 0.7566 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.495e-05/0.6715, allocations: 0 / 0.7566 GB, free: 15.76 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.001012/0.6725, allocations: 0.7158 MB / 0.7573 GB, free: 15 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.6726, allocations: 8.031 kB / 0.7573 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.6727, allocations: 67.25 kB / 0.7573 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005696/0.6733, allocations: 414.3 kB / 0.7577 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.422e-05/0.6733, allocations: 37.31 kB / 0.7578 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.172e-05/0.6734, allocations: 55.98 kB / 0.7578 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.6745, allocations: 0.7032 MB / 0.7585 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.6746, allocations: 7.938 kB / 0.7585 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.836e-05/0.6746, allocations: 23.98 kB / 0.7585 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.282e-05/0.6747, allocations: 27.98 kB / 0.7586 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006475/0.6753, allocations: 395.1 kB / 0.7589 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002427/0.6778, allocations: 3.227 MB / 0.7621 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003167/0.6781, allocations: 226.1 kB / 0.7623 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.6783, allocations: 132.5 kB / 0.7624 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.6783, allocations: 7.984 kB / 0.7624 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.787e-05/0.6784, allocations: 46.5 kB / 0.7625 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 2.254e-06/0.6784, allocations: 0 / 0.7625 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0007161/0.6791, allocations: 265.4 kB / 0.7627 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.6792, allocations: 291.1 kB / 0.763 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007122/0.6799, allocations: 0.6838 MB / 0.7637 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.68, allocations: 25.7 kB / 0.7637 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/0.6802, allocations: 264.2 kB / 0.764 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.496e-05/0.6802, allocations: 43.47 kB / 0.764 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/0.6802, allocations: 0 / 0.764 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.6804, allocations: 370.7 kB / 0.7644 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.6805, allocations: 47.89 kB / 0.7644 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.6807, allocations: 101.1 kB / 0.7645 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.6808, allocations: 47.97 kB / 0.7646 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6808, allocations: 0 / 0.7646 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003278/0.6811, allocations: 208.7 kB / 0.7648 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.6812, allocations: 4 kB / 0.7648 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.6812, allocations: 0 / 0.7648 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.6812, allocations: 7.984 kB / 0.7648 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.6814, allocations: 56.08 kB / 0.7648 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.6815, allocations: 4 kB / 0.7648 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.6817, allocations: 60.94 kB / 0.7649 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.6817, allocations: 12 kB / 0.7649 GB, free: 6.68 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002317/0.6819, allocations: 205.7 kB / 0.7651 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002077/0.6822, allocations: 59.25 kB / 0.7651 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.953e-05/0.6823, allocations: 68.31 kB / 0.7652 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.6823, allocations: 0 / 0.7652 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.6823, allocations: 4.219 kB / 0.7652 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.6823, allocations: 4 kB / 0.7652 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.6836, allocations: 1.3 MB / 0.7665 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.6836, allocations: 4 kB / 0.7665 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.6839, allocations: 56.17 kB / 0.7665 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.6839, allocations: 4 kB / 0.7665 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.6839, allocations: 4 kB / 0.7665 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.6839, allocations: 4 kB / 0.7666 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.6839, allocations: 3.953 kB / 0.7666 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003895/0.6843, allocations: 346.5 kB / 0.7669 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.6845, allocations: 148.6 kB / 0.767 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.505e-05/0.6845, allocations: 4 kB / 0.767 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.6847, allocations: 23.92 kB / 0.7671 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.6848, allocations: 23.88 kB / 0.7671 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.6848, allocations: 4 kB / 0.7671 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005429/0.6853, allocations: 495 kB / 0.7676 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6853, allocations: 0 / 0.7676 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004081/0.6857, allocations: 87.94 kB / 0.7676 GB, free: 3.691 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003043/0.6861, allocations: 145.7 kB / 0.7678 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003039/0.6864, allocations: 107.9 kB / 0.7679 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6864, allocations: 3.938 kB / 0.7679 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.6865, allocations: 64.83 kB / 0.7679 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.6878, allocations: 272.6 kB / 0.7682 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.6891, allocations: 0.9756 MB / 0.7692 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004589/0.6895, allocations: 0.9013 MB / 0.77 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000241/0.6898, allocations: 112.6 kB / 0.7701 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.76e-05/0.6899, allocations: 39.38 kB / 0.7702 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/0.6899, allocations: 7.938 kB / 0.7702 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of Templates: time 0.01343/0.7033, allocations: 7.759 MB / 0.7778 GB, free: 9.406 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)