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.001333/0.001333, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001457/0.001457, allocations: 169.3 kB / 23.02 MB, free: 1.555 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 1.023/1.023, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.845/0.845, allocations: 154.8 MB / 414.7 MB, free: 484 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.503e-06/1.503e-06, allocations: 0 / 0.5206 GB, free: 1.902 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.685e-05, allocations: 4.141 kB / 0.5206 GB, free: 1.898 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1428/0.1428, allocations: 146.7 MB / 0.6638 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002074/0.1449, allocations: 0.9991 MB / 0.6648 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003392/0.1452, allocations: 19.81 kB / 0.6648 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000415/0.1456, allocations: 91.2 kB / 0.6649 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0009959/0.1466, allocations: 405.8 kB / 0.6653 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008228/0.1475, allocations: 371.1 kB / 0.6657 GB, free: 13 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0008265/0.1483, allocations: 0.7055 MB / 0.6663 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003722/0.1487, allocations: 223.5 kB / 0.6666 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006849/0.1493, allocations: 386.9 kB / 0.6669 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003338/0.1497, allocations: 235.3 kB / 0.6671 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.195e-05/0.1497, allocations: 20 kB / 0.6672 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003866/0.1501, allocations: 187.6 kB / 0.6673 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.1502, allocations: 123.6 kB / 0.6675 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.1503, allocations: 115.7 kB / 0.6676 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005556/0.1509, allocations: 338.8 kB / 0.6679 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.1509, allocations: 0 / 0.6679 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.515e-06/0.1509, allocations: 3.984 kB / 0.6679 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.1509, allocations: 4 kB / 0.6679 GB, free: 10.69 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.000801/0.1517, allocations: 0.6399 MB / 0.6685 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.1518, allocations: 12.03 kB / 0.6685 GB, free: 10 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003415/0.1521, allocations: 88.59 kB / 0.6686 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003798/0.1525, allocations: 279.4 kB / 0.6689 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.1525, allocations: 21.03 kB / 0.6689 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.1525, allocations: 32.06 kB / 0.6689 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003585/0.1529, allocations: 269.5 kB / 0.6692 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.1529, allocations: 4 kB / 0.6692 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.1529, allocations: 8 kB / 0.6692 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.1529, allocations: 11.94 kB / 0.6692 GB, free: 9.242 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.1531, allocations: 94.88 kB / 0.6693 GB, free: 9.152 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.0012/0.1543, allocations: 1.433 MB / 0.6707 GB, free: 7.652 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.1544, allocations: 74.97 kB / 0.6708 GB, free: 7.566 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.793e-05/0.1545, allocations: 43.67 kB / 0.6708 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002498/0.1547, allocations: 51.95 kB / 0.6709 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.1548, allocations: 37.38 kB / 0.6709 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 2.705e-06/0.1548, allocations: 0 / 0.6709 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0003957/0.1552, allocations: 149 kB / 0.6711 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.1552, allocations: 59.34 kB / 0.6711 GB, free: 7.203 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.1554, allocations: 276.2 kB / 0.6714 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.1554, allocations: 29.7 kB / 0.6714 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.1555, allocations: 246.9 kB / 0.6716 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.1556, allocations: 43.58 kB / 0.6717 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-05/0.1556, allocations: 51.31 kB / 0.6717 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1558, allocations: 0.4962 MB / 0.6722 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.321e-05/0.1558, allocations: 19.98 kB / 0.6722 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.1559, allocations: 165.5 kB / 0.6724 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.156, allocations: 109.7 kB / 0.6725 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1561, allocations: 0 / 0.6725 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001887/0.1562, allocations: 137.3 kB / 0.6726 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.1563, allocations: 4 kB / 0.6726 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.1563, allocations: 4 kB / 0.6726 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.1563, allocations: 0 / 0.6726 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.1564, allocations: 27.98 kB / 0.6727 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.1564, allocations: 11.92 kB / 0.6727 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.643e-05/0.1565, allocations: 24.05 kB / 0.6727 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.1565, allocations: 7.984 kB / 0.6727 GB, free: 5.457 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.28e-05/0.1566, allocations: 164.5 kB / 0.6729 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.1566, allocations: 27.86 kB / 0.6729 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.1568, allocations: 115.4 kB / 0.673 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1568, allocations: 4 kB / 0.673 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1568, allocations: 0 / 0.673 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1568, allocations: 11.86 kB / 0.673 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005491/0.1574, allocations: 0.5535 MB / 0.6735 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.1574, allocations: 3.938 kB / 0.6736 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.066e-05/0.1575, allocations: 27.98 kB / 0.6736 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1575, allocations: 4.062 kB / 0.6736 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.1575, allocations: 8 kB / 0.6736 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-06/0.1575, allocations: 11.92 kB / 0.6736 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1575, allocations: 3.938 kB / 0.6736 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.1577, allocations: 325.8 kB / 0.6739 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.134e-05/0.1577, allocations: 43.77 kB / 0.674 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.1578, allocations: 4 kB / 0.674 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.31e-05/0.1578, allocations: 4 kB / 0.674 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.1579, allocations: 11.98 kB / 0.674 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.1579, allocations: 8 kB / 0.674 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001086/0.158, allocations: 193.1 kB / 0.6742 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.1e-08/0.158, allocations: 0 / 0.6742 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002876/0.1583, allocations: 83.77 kB / 0.6742 GB, free: 3.73 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.0002319/0.1585, allocations: 143 kB / 0.6744 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001827/0.1587, allocations: 79.53 kB / 0.6745 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1587, allocations: 0 / 0.6745 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.479e-05/0.1588, allocations: 39.61 kB / 0.6745 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.1592, allocations: 93.23 kB / 0.6746 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009485/0.1601, allocations: 0.5264 MB / 0.6751 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.454e-05/0.1602, allocations: 96.3 kB / 0.6752 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001014/0.1603, allocations: 37.92 kB / 0.6752 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.676e-05/0.1604, allocations: 20.5 kB / 0.6753 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of SimCode: time 6.92e-07/0.1604, allocations: 0 / 0.6753 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of Templates: time 0.3059/0.4662, allocations: 3.659 MB / 0.6788 GB, free: 61.19 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.494386878795922]