Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009334/0.0009334, allocations: 76.94 kB / 19.94 MB, free: 4.543 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.001028/0.001028, allocations: 176.9 kB / 23.36 MB, free: 1.125 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.9447/0.9447, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8708/0.8708, allocations: 154.6 MB / 414.8 MB, free: 0.5312 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 480 MB, free: 6.906 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.734e-05, allocations: 4.703 kB / 480 MB, free: 6.902 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1343/0.1343, allocations: 146.1 MB / 0.6114 GB, free: 4.711 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001966/0.1363, allocations: 1.022 MB / 0.6124 GB, free: 3.688 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002226/0.1365, allocations: 23.81 kB / 0.6124 GB, free: 3.664 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.1368, allocations: 87.27 kB / 0.6125 GB, free: 3.578 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0008506/0.1377, allocations: 409.7 kB / 0.6129 GB, free: 3.176 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009863/0.1387, allocations: 371.1 kB / 0.6133 GB, free: 2.812 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0007277/0.1394, allocations: 0.7016 MB / 0.6139 GB, free: 2.105 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003564/0.1397, allocations: 230.8 kB / 0.6142 GB, free: 1.879 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005571/0.1403, allocations: 378.9 kB / 0.6145 GB, free: 1.508 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.1406, allocations: 227.3 kB / 0.6147 GB, free: 1.285 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 3.149e-05/0.1406, allocations: 24 kB / 0.6148 GB, free: 1.262 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003/0.1409, allocations: 187.5 kB / 0.6149 GB, free: 1.078 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 9.697e-05/0.141, allocations: 123.6 kB / 0.6151 GB, free: 0.957 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 8.629e-05/0.1411, allocations: 107.8 kB / 0.6152 GB, free: 0.8516 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003971/0.1415, allocations: 338.8 kB / 0.6155 GB, free: 0.5195 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1415, allocations: 8 kB / 0.6155 GB, free: 0.5117 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1415, allocations: 0 / 0.6155 GB, free: 0.5117 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.1415, allocations: 0 / 0.6155 GB, free: 0.5117 MB / 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.0005784/0.1421, allocations: 0.5176 MB / 0.616 GB, free: 15.97 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.1421, allocations: 8.031 kB / 0.616 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002587/0.1424, allocations: 80.73 kB / 0.6161 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.1427, allocations: 248.7 kB / 0.6163 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.1427, allocations: 25.03 kB / 0.6163 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.1427, allocations: 33.61 kB / 0.6164 GB, free: 15.56 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.143, allocations: 244.6 kB / 0.6166 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.143, allocations: 7.938 kB / 0.6166 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.143, allocations: 8 kB / 0.6166 GB, free: 15.28 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.143, allocations: 11.94 kB / 0.6166 GB, free: 15.27 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.78e-05/0.1431, allocations: 79.89 kB / 0.6167 GB, free: 15.19 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.0007618/0.1438, allocations: 0.9569 MB / 0.6176 GB, free: 14.19 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.144, allocations: 113.2 kB / 0.6178 GB, free: 14.07 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.54e-05/0.144, allocations: 39.61 kB / 0.6178 GB, free: 14.02 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001883/0.1442, allocations: 48.69 kB / 0.6178 GB, free: 13.98 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.1442, allocations: 34.56 kB / 0.6179 GB, free: 13.93 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 1.724e-06/0.1442, allocations: 0 / 0.6179 GB, free: 13.93 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.0002395/0.1444, allocations: 109.8 kB / 0.618 GB, free: 13.82 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.1445, allocations: 59.34 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.1446, allocations: 228.9 kB / 0.6182 GB, free: 13.51 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.1446, allocations: 29.7 kB / 0.6183 GB, free: 13.48 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.661e-05/0.1447, allocations: 172.6 kB / 0.6184 GB, free: 13.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.1447, allocations: 47.62 kB / 0.6185 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.1448, allocations: 33.69 kB / 0.6185 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.851e-05/0.1448, allocations: 338.8 kB / 0.6188 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.705e-05/0.1449, allocations: 14.83 kB / 0.6189 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.45e-05/0.1449, allocations: 134.2 kB / 0.619 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.856e-05/0.145, allocations: 90.31 kB / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.145, allocations: 0 / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001199/0.1451, allocations: 120.2 kB / 0.6192 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.1452, allocations: 4 kB / 0.6192 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1452, allocations: 4 kB / 0.6192 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1452, allocations: 3.938 kB / 0.6192 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.346e-05/0.1453, allocations: 32.14 kB / 0.6192 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1453, allocations: 4 kB / 0.6192 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.362e-05/0.1453, allocations: 15.88 kB / 0.6192 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.1454, allocations: 12 kB / 0.6193 GB, free: 12.39 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.656e-05/0.1454, allocations: 120.6 kB / 0.6194 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.1455, allocations: 15.92 kB / 0.6194 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.1456, allocations: 110.7 kB / 0.6195 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1456, allocations: 3.938 kB / 0.6195 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.1456, allocations: 0 / 0.6195 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1456, allocations: 0 / 0.6195 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004126/0.146, allocations: 0.4921 MB / 0.62 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002572/0.1463, allocations: 7.984 kB / 0.62 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.125e-05/0.1463, allocations: 20 kB / 0.62 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1463, allocations: 0 / 0.62 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.1463, allocations: 15.92 kB / 0.62 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1463, allocations: 4 kB / 0.62 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1463, allocations: 4.219 kB / 0.62 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.1465, allocations: 295.9 kB / 0.6203 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.781e-05/0.1465, allocations: 19.86 kB / 0.6203 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.1466, allocations: 11.98 kB / 0.6203 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.019e-05/0.1466, allocations: 4 kB / 0.6203 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.1466, allocations: 19.92 kB / 0.6204 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.1467, allocations: 4 kB / 0.6204 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.252e-05/0.1467, allocations: 74.77 kB / 0.6204 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.1467, allocations: 0 / 0.6204 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002253/0.1469, allocations: 83.72 kB / 0.6205 GB, free: 10.98 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.000173/0.1471, allocations: 120.2 kB / 0.6206 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001157/0.1472, allocations: 76.62 kB / 0.6207 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.85e-06/0.1472, allocations: 4 kB / 0.6207 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.637e-05/0.1473, allocations: 29.42 kB / 0.6207 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.1476, allocations: 100.5 kB / 0.6208 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000715/0.1483, allocations: 0.5056 MB / 0.6213 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.994e-05/0.1484, allocations: 96.3 kB / 0.6214 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 9.081e-05/0.1484, allocations: 25.94 kB / 0.6214 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.1486, allocations: 119.3 kB / 0.6216 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of SimCode: time 6.12e-07/0.1486, allocations: 0 / 0.6216 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of Templates: time 0.006049/0.1547, allocations: 3.973 MB / 0.6254 GB, free: 5.98 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8298546290025115]