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.0007945/0.0007946, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005316/0.005316, allocations: 171.1 kB / 16.26 MB, free: 6.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.518/1.518, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8435/0.8435, allocations: 132.4 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003431, allocations: 8 kB / 0.504 GB, free: 3.945 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4575/0.4578, allocations: 81.59 MB / 0.5837 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.1989/0.6568, allocations: 171.5 MB / 0.7511 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01008/0.6669, allocations: 8.581 MB / 0.7595 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005818/0.6675, allocations: 15.88 kB / 0.7595 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006844/0.6682, allocations: 242.4 kB / 0.7597 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0007456/0.669, allocations: 290.6 kB / 0.76 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.67, allocations: 334.5 kB / 0.7603 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001526/0.6715, allocations: 1.616 MB / 0.7619 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006911/0.6722, allocations: 0.4986 MB / 0.7624 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00433/0.6766, allocations: 1.907 MB / 0.7643 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004778/0.6771, allocations: 346.4 kB / 0.7646 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.206e-05/0.6771, allocations: 24 kB / 0.7646 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.6773, allocations: 55.97 kB / 0.7647 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002774/0.6776, allocations: 239.3 kB / 0.7649 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002691/0.6779, allocations: 280.2 kB / 0.7652 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005896/0.6785, allocations: 0.5877 MB / 0.7657 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.6785, allocations: 0 / 0.7657 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6785, allocations: 0 / 0.7657 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.6785, allocations: 4 kB / 0.7657 GB, free: 5.379 MB / 0.5919 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.001042/0.6796, allocations: 0.7172 MB / 0.7664 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.6796, allocations: 8.031 kB / 0.7664 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.6797, allocations: 67.25 kB / 0.7665 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005484/0.6803, allocations: 414.2 kB / 0.7669 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.757e-05/0.6803, allocations: 37.31 kB / 0.7669 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.44e-05/0.6804, allocations: 55.98 kB / 0.767 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.6816, allocations: 0.7066 MB / 0.7677 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.6816, allocations: 7.922 kB / 0.7677 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.868e-05/0.6817, allocations: 27.98 kB / 0.7677 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-05/0.6817, allocations: 35.98 kB / 0.7677 GB, free: 3.145 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006797/0.6824, allocations: 381.1 kB / 0.7681 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002728/0.6851, allocations: 3.235 MB / 0.7713 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.6854, allocations: 226.1 kB / 0.7715 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.6856, allocations: 136.5 kB / 0.7716 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.6857, allocations: 11.94 kB / 0.7716 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.6857, allocations: 42.5 kB / 0.7717 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.6857, allocations: 0 / 0.7717 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0007473/0.6865, allocations: 269.7 kB / 0.7719 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001437/0.6866, allocations: 286.7 kB / 0.7722 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007538/0.6874, allocations: 0.6877 MB / 0.7729 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.6874, allocations: 29.7 kB / 0.7729 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.6877, allocations: 268.2 kB / 0.7732 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.059e-05/0.6877, allocations: 35.53 kB / 0.7732 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.6877, allocations: 13.75 kB / 0.7732 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.6879, allocations: 374.8 kB / 0.7736 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.688, allocations: 39.91 kB / 0.7736 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.6882, allocations: 105 kB / 0.7737 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00026/0.6885, allocations: 141 kB / 0.7738 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6885, allocations: 0 / 0.7738 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003574/0.6889, allocations: 208.7 kB / 0.774 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.6889, allocations: 4 kB / 0.774 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.6889, allocations: 0 / 0.774 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.6889, allocations: 4.328 kB / 0.774 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.6892, allocations: 56.03 kB / 0.7741 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.6892, allocations: 7.984 kB / 0.7741 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.6894, allocations: 59.3 kB / 0.7742 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.6895, allocations: 8 kB / 0.7742 GB, free: 12.14 MB / 0.6075 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.0002138/0.6897, allocations: 205.8 kB / 0.7744 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002092/0.6899, allocations: 63.19 kB / 0.7744 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.823e-05/0.69, allocations: 60.33 kB / 0.7745 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.69, allocations: 0 / 0.7745 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.69, allocations: 4 kB / 0.7745 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.69, allocations: 4 kB / 0.7745 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001343/0.6914, allocations: 1.3 MB / 0.7758 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.6914, allocations: 4 kB / 0.7758 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.6916, allocations: 60.17 kB / 0.7758 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.6916, allocations: 4 kB / 0.7758 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.6916, allocations: 4 kB / 0.7758 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.6916, allocations: 12 kB / 0.7758 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.6917, allocations: 0 / 0.7758 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003925/0.6921, allocations: 342.5 kB / 0.7762 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.6922, allocations: 148.3 kB / 0.7763 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.115e-05/0.6923, allocations: 11.92 kB / 0.7763 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.6925, allocations: 27.92 kB / 0.7763 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.6925, allocations: 4 kB / 0.7763 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.6925, allocations: 7.984 kB / 0.7764 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005098/0.693, allocations: 0.4951 MB / 0.7768 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.693, allocations: 0 / 0.7768 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003718/0.6934, allocations: 83.94 kB / 0.7769 GB, free: 9.16 MB / 0.6075 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.0003123/0.6937, allocations: 147.5 kB / 0.7771 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003172/0.6941, allocations: 115.8 kB / 0.7772 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6941, allocations: 0 / 0.7772 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.6942, allocations: 63.91 kB / 0.7772 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/0.6957, allocations: 275.6 kB / 0.7775 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.697, allocations: 1.026 MB / 0.7785 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005156/0.6975, allocations: 0.9052 MB / 0.7794 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000235/0.6978, allocations: 104.6 kB / 0.7795 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.728e-05/0.6978, allocations: 35.44 kB / 0.7795 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.6978, allocations: 0 / 0.7795 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of Templates: time 0.01493/0.7128, allocations: 7.998 MB / 0.7873 GB, free: 14.58 MB / 0.6231 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)