Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009934/0.0009934, allocations: 81.92 kB / 19.87 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 173.7 kB / 23.28 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9953/0.9953, allocations: 177.1 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7769/0.7769, allocations: 154.9 MB / 415.1 MB, free: 268 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.5211 GB, free: 1.539 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.356e-05, allocations: 5.328 kB / 0.5211 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1472/0.1472, allocations: 144 MB / 0.6617 GB, free: 1.234 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001713/0.149, allocations: 0.9874 MB / 0.6627 GB, free: 252 kB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002/0.1492, allocations: 19.88 kB / 0.6627 GB, free: 232 kB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002131/0.1494, allocations: 87.2 kB / 0.6628 GB, free: 144 kB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008059/0.1502, allocations: 413.7 kB / 0.6632 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006509/0.1508, allocations: 367.1 kB / 0.6635 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0006672/0.1515, allocations: 0.7056 MB / 0.6642 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003265/0.1518, allocations: 235.3 kB / 0.6645 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004906/0.1523, allocations: 375.1 kB / 0.6648 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002714/0.1526, allocations: 239.3 kB / 0.665 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.1526, allocations: 24 kB / 0.6651 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002898/0.1529, allocations: 187.5 kB / 0.6652 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.153, allocations: 119.6 kB / 0.6654 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.1531, allocations: 119.7 kB / 0.6655 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004211/0.1535, allocations: 342.8 kB / 0.6658 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1535, allocations: 0 / 0.6658 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1535, allocations: 0 / 0.6658 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.1535, allocations: 0 / 0.6658 GB, free: 13.06 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009568/0.1545, allocations: 0.6438 MB / 0.6664 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.1545, allocations: 8.031 kB / 0.6664 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002697/0.1548, allocations: 92.61 kB / 0.6665 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.1551, allocations: 279.3 kB / 0.6668 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.1552, allocations: 25.03 kB / 0.6668 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.1552, allocations: 28.12 kB / 0.6668 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003056/0.1555, allocations: 253.5 kB / 0.6671 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1555, allocations: 4 kB / 0.6671 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.1555, allocations: 12 kB / 0.6671 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.1555, allocations: 8 kB / 0.6671 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.1556, allocations: 79.31 kB / 0.6672 GB, free: 11.55 MB / 0.6355 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.0009548/0.1566, allocations: 1.387 MB / 0.6685 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.879e-05/0.1567, allocations: 59.05 kB / 0.6686 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.127e-05/0.1567, allocations: 31.67 kB / 0.6686 GB, free: 10 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000216/0.157, allocations: 59.86 kB / 0.6687 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.157, allocations: 41.33 kB / 0.6687 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.157, allocations: 0 / 0.6687 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0003044/0.1573, allocations: 137.8 kB / 0.6688 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.1573, allocations: 51.41 kB / 0.6689 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.1575, allocations: 280.2 kB / 0.6692 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.1575, allocations: 25.7 kB / 0.6692 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.1576, allocations: 238.9 kB / 0.6694 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.1576, allocations: 47.56 kB / 0.6695 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-05/0.1577, allocations: 55.3 kB / 0.6695 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1578, allocations: 0.5078 MB / 0.67 GB, free: 8.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.944e-05/0.1579, allocations: 12 kB / 0.67 GB, free: 8.488 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.749e-05/0.158, allocations: 156.5 kB / 0.6702 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.1581, allocations: 105.1 kB / 0.6703 GB, free: 8.168 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1581, allocations: 7.938 kB / 0.6703 GB, free: 8.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000167/0.1582, allocations: 121.5 kB / 0.6704 GB, free: 8.035 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.1582, allocations: 4 kB / 0.6704 GB, free: 8.031 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1583, allocations: 4.156 kB / 0.6704 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1583, allocations: 4 kB / 0.6704 GB, free: 8.023 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.1584, allocations: 31.92 kB / 0.6704 GB, free: 7.992 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.1584, allocations: 4 kB / 0.6704 GB, free: 7.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.732e-05/0.1584, allocations: 19.83 kB / 0.6705 GB, free: 7.969 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.1585, allocations: 8 kB / 0.6705 GB, free: 7.961 MB / 0.6355 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 (17): * Single equations (assignments): 17 * 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 9.319e-05/0.1586, allocations: 168.5 kB / 0.6706 GB, free: 7.785 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.042e-05/0.1586, allocations: 31.86 kB / 0.6707 GB, free: 7.754 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.1588, allocations: 107.4 kB / 0.6708 GB, free: 7.641 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1588, allocations: 0 / 0.6708 GB, free: 7.641 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.1588, allocations: 4 kB / 0.6708 GB, free: 7.637 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1588, allocations: 4 kB / 0.6708 GB, free: 7.633 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005033/0.1593, allocations: 0.4993 MB / 0.6713 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1593, allocations: 0 / 0.6713 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.568e-05/0.1594, allocations: 27.92 kB / 0.6713 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1594, allocations: 8.156 kB / 0.6713 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.1594, allocations: 11.94 kB / 0.6713 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1594, allocations: 4 kB / 0.6713 GB, free: 7.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1594, allocations: 0 / 0.6713 GB, free: 7.02 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.1596, allocations: 320.3 kB / 0.6716 GB, free: 6.66 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.391e-05/0.1596, allocations: 31.84 kB / 0.6716 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.1596, allocations: 11.94 kB / 0.6717 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.464e-05/0.1597, allocations: 7.984 kB / 0.6717 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.1598, allocations: 15.92 kB / 0.6717 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-06/0.1598, allocations: 4 kB / 0.6717 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.857e-05/0.1599, allocations: 193.1 kB / 0.6719 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.1599, allocations: 0 / 0.6719 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003166/0.1602, allocations: 79.78 kB / 0.6719 GB, free: 6.324 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (13): * Single equations (assignments): 13 * 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.0001879/0.1604, allocations: 131.1 kB / 0.6721 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001444/0.1605, allocations: 75.52 kB / 0.6721 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.1605, allocations: 320 / 0.6721 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.626e-05/0.1606, allocations: 51.53 kB / 0.6722 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.161, allocations: 103.5 kB / 0.6723 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008341/0.1619, allocations: 0.5199 MB / 0.6728 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.05e-05/0.1619, allocations: 96.3 kB / 0.6729 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.026e-05/0.162, allocations: 33.98 kB / 0.6729 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004495/0.1625, allocations: 138.1 kB / 0.673 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of SimCode: time 7.42e-07/0.1625, allocations: 0 / 0.673 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of Templates: time 0.00799/0.1705, allocations: 4.039 MB / 0.677 GB, free: 1.156 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.05941400770098]