Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_T.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Sources.Examples.PropertySource_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_T") translateModel(IDEAS.Fluid.Sources.Examples.PropertySource_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8573/0.8573, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 403.3 MB, free: 7.09 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001035, allocations: 116.4 kB / 484.4 MB, free: 8.703 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 55.91 kB / 0.5618 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1307, allocations: 80.21 MB / 0.6402 GB, free: 6.781 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_T): time 0.485/0.6158, allocations: 191.9 MB / 0.8275 GB, free: 3.262 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01062/0.6265, allocations: 10.04 MB / 0.8373 GB, free: 9.195 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009338/0.6275, allocations: 27.81 kB / 0.8374 GB, free: 9.168 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0009176/0.6284, allocations: 313.9 kB / 0.8377 GB, free: 8.859 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.002454/0.6309, allocations: 0.9685 MB / 0.8386 GB, free: 7.887 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003017/0.6339, allocations: 1.193 MB / 0.8398 GB, free: 6.695 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.002627/0.6366, allocations: 2.349 MB / 0.8421 GB, free: 4.34 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.6378, allocations: 0.7235 MB / 0.8428 GB, free: 3.594 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003348/0.6412, allocations: 1.323 MB / 0.8441 GB, free: 2.266 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008231/0.642, allocations: 0.5523 MB / 0.8446 GB, free: 1.711 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.6422, allocations: 44 kB / 0.8446 GB, free: 1.668 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003082/0.6453, allocations: 1.664 MB / 0.8463 GB, free: 0 / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0004176/0.6457, allocations: 327.1 kB / 0.8466 GB, free: 15.68 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0006037/0.6463, allocations: 429.6 kB / 0.847 GB, free: 15.26 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.002625/0.6489, allocations: 1.554 MB / 0.8485 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.649, allocations: 0 / 0.8485 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.072e-06/0.649, allocations: 0 / 0.8485 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.649, allocations: 0 / 0.8485 GB, free: 13.7 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.001537/0.6505, allocations: 1.146 MB / 0.8496 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.6506, allocations: 12.03 kB / 0.8496 GB, free: 12.49 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/0.6521, allocations: 290.6 kB / 0.8499 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008117/0.653, allocations: 0.5388 MB / 0.8504 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.032e-05/0.653, allocations: 50 kB / 0.8505 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.654e-05/0.6531, allocations: 79.98 kB / 0.8506 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.6543, allocations: 0.8964 MB / 0.8514 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.6544, allocations: 0 / 0.8514 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.855e-05/0.6544, allocations: 35.98 kB / 0.8515 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.645e-05/0.6545, allocations: 45.23 kB / 0.8515 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009105/0.6554, allocations: 0.5749 MB / 0.8521 GB, free: 9.887 MB / 0.5886 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003531/0.659, allocations: 3.501 MB / 0.8555 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003777/0.6593, allocations: 219.7 kB / 0.8557 GB, free: 5.953 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.6596, allocations: 152.7 kB / 0.8559 GB, free: 5.797 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008483/0.6605, allocations: 493.4 kB / 0.8563 GB, free: 5.223 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.6605, allocations: 38.56 kB / 0.8564 GB, free: 5.176 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=21): time 2.224e-06/0.6605, allocations: 0 / 0.8564 GB, free: 5.176 MB / 0.5886 GB Notification: Performance of matching and sorting (n=21): time 0.001208/0.6617, allocations: 458.5 kB / 0.8568 GB, free: 4.723 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.539e-05/0.6618, allocations: 102.8 kB / 0.8569 GB, free: 4.598 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.6629, allocations: 0.8645 MB / 0.8577 GB, free: 3.719 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.6629, allocations: 33.64 kB / 0.8578 GB, free: 3.68 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003094/0.6632, allocations: 383.9 kB / 0.8581 GB, free: 3.301 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.789e-05/0.6633, allocations: 74.94 kB / 0.8582 GB, free: 3.227 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.6634, allocations: 61.61 kB / 0.8583 GB, free: 3.16 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.6636, allocations: 318 kB / 0.8586 GB, free: 2.844 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.6638, allocations: 99.91 kB / 0.8587 GB, free: 2.746 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003075/0.6641, allocations: 219.1 kB / 0.8589 GB, free: 2.492 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004948/0.6646, allocations: 306.9 kB / 0.8592 GB, free: 2.152 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.6646, allocations: 4 kB / 0.8592 GB, free: 2.148 MB / 0.5886 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006575/0.6653, allocations: 393.5 kB / 0.8596 GB, free: 1.758 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.6653, allocations: 13.12 kB / 0.8596 GB, free: 1.746 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.6653, allocations: 4 kB / 0.8596 GB, free: 1.742 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.6654, allocations: 7.938 kB / 0.8596 GB, free: 1.734 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003119/0.6657, allocations: 59.91 kB / 0.8596 GB, free: 1.676 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.6657, allocations: 7.938 kB / 0.8596 GB, free: 1.668 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004643/0.6662, allocations: 91.09 kB / 0.8597 GB, free: 1.578 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.836e-05/0.6662, allocations: 15.98 kB / 0.8597 GB, free: 1.562 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (32): * Single equations (assignments): 32 * 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.000252/0.6665, allocations: 235.4 kB / 0.86 GB, free: 1.324 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.6666, allocations: 86.95 kB / 0.8601 GB, free: 1.238 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006195/0.6672, allocations: 326.5 kB / 0.8604 GB, free: 0.9102 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.6673, allocations: 4 kB / 0.8604 GB, free: 0.9062 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.6673, allocations: 4 kB / 0.8604 GB, free: 0.9023 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.6673, allocations: 0 / 0.8604 GB, free: 0.9023 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001981/0.6693, allocations: 1.373 MB / 0.8617 GB, free: 15.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.6693, allocations: 4 kB / 0.8617 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.6695, allocations: 43.91 kB / 0.8618 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.6695, allocations: 4.094 kB / 0.8618 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/0.6695, allocations: 19.92 kB / 0.8618 GB, free: 15.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.6696, allocations: 4 kB / 0.8618 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.6696, allocations: 11.94 kB / 0.8618 GB, free: 15.33 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.6708, allocations: 1.34 MB / 0.8631 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002605/0.6711, allocations: 184.1 kB / 0.8633 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.705e-05/0.6712, allocations: 8 kB / 0.8633 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003586/0.6715, allocations: 35.97 kB / 0.8633 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.031e-05/0.6716, allocations: 23.86 kB / 0.8633 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.6716, allocations: 15.98 kB / 0.8634 GB, free: 13.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007262/0.6724, allocations: 0.6083 MB / 0.864 GB, free: 13 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.61e-07/0.6724, allocations: 0 / 0.864 GB, free: 13 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006893/0.6731, allocations: 167.7 kB / 0.8641 GB, free: 12.84 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (21): * Single equations (assignments): 21 * 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.000425/0.6735, allocations: 196.2 kB / 0.8643 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005499/0.6741, allocations: 256.1 kB / 0.8645 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6741, allocations: 0 / 0.8645 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002582/0.6744, allocations: 131.7 kB / 0.8647 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001864/0.6762, allocations: 394.4 kB / 0.865 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.6782, allocations: 1.664 MB / 0.8667 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005692/0.6788, allocations: 1.004 MB / 0.8677 GB, free: 9.09 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005193/0.6793, allocations: 162.2 kB / 0.8678 GB, free: 8.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.6795, allocations: 55.42 kB / 0.8679 GB, free: 8.875 MB / 0.6042 GB Notification: Performance of SimCode: time 3.3e-07/0.6795, allocations: 0 / 0.8679 GB, free: 8.875 MB / 0.6042 GB Notification: Performance of Templates: time 0.02329/0.7028, allocations: 13.4 MB / 0.8809 GB, free: 11.66 MB / 0.6198 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_T.makefile (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_T.sim & ./IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1)