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.000852/0.000852, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0008764/0.0008764, allocations: 181 kB / 23.36 MB, free: 1.133 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.9726/0.9726, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.7967/0.7967, allocations: 154.9 MB / 415.1 MB, free: 240 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.212e-06/1.212e-06, allocations: 0 / 480.4 MB, free: 6.523 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.192e-05/2.313e-05, allocations: 2.312 kB / 480.4 MB, free: 6.52 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1405/0.1405, allocations: 146.1 MB / 0.6118 GB, free: 4.34 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.002332/0.1429, allocations: 1.029 MB / 0.6128 GB, free: 3.309 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002926/0.1432, allocations: 23.81 kB / 0.6128 GB, free: 3.285 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003356/0.1435, allocations: 87.27 kB / 0.6129 GB, free: 3.199 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0008541/0.1443, allocations: 405.7 kB / 0.6132 GB, free: 2.801 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006917/0.145, allocations: 363.1 kB / 0.6136 GB, free: 2.445 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.000594/0.1456, allocations: 0.7055 MB / 0.6143 GB, free: 1.738 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002921/0.1459, allocations: 241.3 kB / 0.6145 GB, free: 1.504 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004492/0.1464, allocations: 382.9 kB / 0.6149 GB, free: 1.129 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.1466, allocations: 223.4 kB / 0.6151 GB, free: 0.9102 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 2.977e-05/0.1466, allocations: 20 kB / 0.6151 GB, free: 0.8906 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002767/0.1469, allocations: 199.5 kB / 0.6153 GB, free: 0.6953 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 9.114e-05/0.147, allocations: 115.7 kB / 0.6154 GB, free: 0.582 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 8.802e-05/0.1471, allocations: 115.7 kB / 0.6155 GB, free: 480 kB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.000368/0.1475, allocations: 334.9 kB / 0.6158 GB, free: 144 kB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1475, allocations: 3.984 kB / 0.6158 GB, free: 140 kB / 0.573 GB Notification: Performance of FrontEnd: time 7.12e-07/0.1475, allocations: 0 / 0.6158 GB, free: 140 kB / 0.573 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.1475, allocations: 0 / 0.6158 GB, free: 140 kB / 0.573 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.0005365/0.148, allocations: 0.5152 MB / 0.6163 GB, free: 15.6 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.148, allocations: 8.031 kB / 0.6164 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000233/0.1483, allocations: 88.69 kB / 0.6164 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.1485, allocations: 244.7 kB / 0.6167 GB, free: 15.24 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.1486, allocations: 21.03 kB / 0.6167 GB, free: 15.22 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.1486, allocations: 32.06 kB / 0.6167 GB, free: 15.19 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.1489, allocations: 252.6 kB / 0.617 GB, free: 14.91 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1489, allocations: 3.938 kB / 0.617 GB, free: 14.91 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.1489, allocations: 8 kB / 0.617 GB, free: 14.9 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.1489, allocations: 8 kB / 0.617 GB, free: 14.89 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.28e-05/0.149, allocations: 75.89 kB / 0.6171 GB, free: 14.82 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.0007404/0.1497, allocations: 0.9803 MB / 0.618 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.1498, allocations: 101.2 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.594e-05/0.1499, allocations: 35.66 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001958/0.1501, allocations: 43.95 kB / 0.6182 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.1501, allocations: 34.56 kB / 0.6182 GB, free: 13.56 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.1501, allocations: 0 / 0.6182 GB, free: 13.56 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.0002421/0.1503, allocations: 121.8 kB / 0.6183 GB, free: 13.43 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.1504, allocations: 55.41 kB / 0.6184 GB, free: 13.37 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.1505, allocations: 221 kB / 0.6186 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.1505, allocations: 25.7 kB / 0.6186 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.704e-05/0.1506, allocations: 180.6 kB / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.1506, allocations: 43.62 kB / 0.6188 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.594e-05/0.1506, allocations: 37.66 kB / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.092e-05/0.1507, allocations: 338.7 kB / 0.6192 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.561e-05/0.1508, allocations: 14.81 kB / 0.6192 GB, free: 12.49 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.805e-05/0.1508, allocations: 142.1 kB / 0.6193 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.015e-05/0.1509, allocations: 94.36 kB / 0.6194 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1509, allocations: 4 kB / 0.6194 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001214/0.151, allocations: 108.3 kB / 0.6195 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.1511, allocations: 8.156 kB / 0.6195 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1511, allocations: 4 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.1511, allocations: 0 / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.744e-05/0.1512, allocations: 27.98 kB / 0.6196 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1512, allocations: 4 kB / 0.6196 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.73e-05/0.1512, allocations: 11.94 kB / 0.6196 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003057/0.1515, allocations: 15.88 kB / 0.6196 GB, free: 12.02 MB / 0.5886 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 7.771e-05/0.1516, allocations: 116.7 kB / 0.6197 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.1516, allocations: 19.97 kB / 0.6197 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001381/0.1518, allocations: 109.8 kB / 0.6198 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1518, allocations: 4 kB / 0.6198 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.1518, allocations: 0 / 0.6198 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1518, allocations: 3.938 kB / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004108/0.1522, allocations: 499.9 kB / 0.6203 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1522, allocations: 0 / 0.6203 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.371e-05/0.1523, allocations: 31.92 kB / 0.6204 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.1523, allocations: 8.219 kB / 0.6204 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.1523, allocations: 3.938 kB / 0.6204 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.1523, allocations: 4 kB / 0.6204 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1523, allocations: 4 kB / 0.6204 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.1524, allocations: 292 kB / 0.6207 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.508e-05/0.1525, allocations: 23.86 kB / 0.6207 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.1525, allocations: 7.938 kB / 0.6207 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.739e-05/0.1525, allocations: 7.984 kB / 0.6207 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.1526, allocations: 15.98 kB / 0.6207 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.1526, allocations: 8 kB / 0.6207 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.278e-05/0.1526, allocations: 70.78 kB / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.1526, allocations: 0 / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002307/0.1529, allocations: 83.72 kB / 0.6209 GB, free: 10.61 MB / 0.5886 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.0001916/0.1531, allocations: 124.2 kB / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001182/0.1532, allocations: 60.91 kB / 0.621 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.1532, allocations: 8.125 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.956e-05/0.1532, allocations: 40.72 kB / 0.6211 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.1536, allocations: 92.06 kB / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007654/0.1543, allocations: 0.5034 MB / 0.6217 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.777e-05/0.1544, allocations: 96.3 kB / 0.6218 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.588e-05/0.1545, allocations: 29.98 kB / 0.6218 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.1546, allocations: 115.3 kB / 0.6219 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of SimCode: time 6.01e-07/0.1546, allocations: 0 / 0.6219 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of Templates: time 0.006008/0.1606, allocations: 3.986 MB / 0.6258 GB, free: 5.605 MB / 0.5886 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: 3.7948211529292166]