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.001308/0.001308, allocations: 92.22 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.001609/0.001609, allocations: 165 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.034/1.034, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.8142/0.8142, allocations: 154.6 MB / 414.5 MB, free: 0.6602 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.052e-06/1.052e-06, allocations: 0 / 0.5203 GB, free: 2.207 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.492e-05/1.597e-05, allocations: 4.141 kB / 0.5203 GB, free: 2.203 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1316/0.1316, allocations: 146.7 MB / 0.6636 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001598/0.1332, allocations: 1.003 MB / 0.6646 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002127/0.1334, allocations: 15.88 kB / 0.6646 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003547/0.1338, allocations: 87.27 kB / 0.6647 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00084/0.1346, allocations: 405.7 kB / 0.6651 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006469/0.1353, allocations: 367.2 kB / 0.6654 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0006717/0.1359, allocations: 0.7094 MB / 0.6661 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003462/0.1363, allocations: 231 kB / 0.6663 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004902/0.1368, allocations: 379 kB / 0.6667 GB, free: 12 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002714/0.137, allocations: 239.3 kB / 0.6669 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.622e-05/0.1371, allocations: 24 kB / 0.6669 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002756/0.1374, allocations: 191.5 kB / 0.6671 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.732e-05/0.1375, allocations: 115.6 kB / 0.6672 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.354e-05/0.1375, allocations: 111.8 kB / 0.6673 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004006/0.1379, allocations: 342.8 kB / 0.6677 GB, free: 11 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.138, allocations: 0 / 0.6677 GB, free: 11 MB / 0.6355 GB Notification: Performance of FrontEnd: time 8.72e-07/0.138, allocations: 0 / 0.6677 GB, free: 11 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.138, allocations: 0 / 0.6677 GB, free: 11 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.0006544/0.1386, allocations: 0.6477 MB / 0.6683 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.1387, allocations: 8.031 kB / 0.6683 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002867/0.1389, allocations: 88.59 kB / 0.6684 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000325/0.1393, allocations: 279.4 kB / 0.6687 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.1393, allocations: 25.02 kB / 0.6687 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.005e-05/0.1393, allocations: 28.12 kB / 0.6687 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003438/0.1397, allocations: 277.5 kB / 0.669 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.1397, allocations: 0 / 0.669 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.1397, allocations: 12 kB / 0.669 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.1397, allocations: 4 kB / 0.669 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.1398, allocations: 90.88 kB / 0.6691 GB, free: 9.461 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.0009823/0.1408, allocations: 1.445 MB / 0.6705 GB, free: 7.949 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.1409, allocations: 67.05 kB / 0.6705 GB, free: 7.871 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.1411, allocations: 39.67 kB / 0.6706 GB, free: 7.828 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002166/0.1413, allocations: 43.94 kB / 0.6706 GB, free: 7.785 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.1413, allocations: 41.39 kB / 0.6707 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.1413, allocations: 0 / 0.6707 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0003341/0.1417, allocations: 156.7 kB / 0.6708 GB, free: 7.578 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.1417, allocations: 51.41 kB / 0.6709 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.1419, allocations: 280.2 kB / 0.6711 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.1419, allocations: 33.7 kB / 0.6712 GB, free: 7.188 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.142, allocations: 234.9 kB / 0.6714 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.142, allocations: 51.56 kB / 0.6714 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.966e-05/0.1421, allocations: 47.31 kB / 0.6715 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1422, allocations: 0.5001 MB / 0.672 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.736e-05/0.1422, allocations: 19.98 kB / 0.672 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.525e-05/0.1423, allocations: 159.2 kB / 0.6721 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.1424, allocations: 109.9 kB / 0.6722 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.1424, allocations: 3.984 kB / 0.6722 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001654/0.1426, allocations: 133.5 kB / 0.6724 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.1426, allocations: 8.156 kB / 0.6724 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1426, allocations: 4 kB / 0.6724 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.1426, allocations: 4 kB / 0.6724 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.784e-05/0.1427, allocations: 31.92 kB / 0.6724 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1427, allocations: 3.938 kB / 0.6724 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.131e-05/0.1428, allocations: 15.89 kB / 0.6724 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.1428, allocations: 15.94 kB / 0.6725 GB, free: 5.762 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 8.27e-05/0.1429, allocations: 160.6 kB / 0.6726 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.1429, allocations: 35.88 kB / 0.6726 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001656/0.1431, allocations: 119.4 kB / 0.6728 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1431, allocations: 7.984 kB / 0.6728 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1431, allocations: 0 / 0.6728 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.1431, allocations: 7.938 kB / 0.6728 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004748/0.1436, allocations: 0.5496 MB / 0.6733 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.1436, allocations: 7.938 kB / 0.6733 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.946e-05/0.1437, allocations: 23.94 kB / 0.6733 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.1437, allocations: 12.2 kB / 0.6733 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1437, allocations: 4 kB / 0.6734 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1437, allocations: 4 kB / 0.6734 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.1437, allocations: 7.984 kB / 0.6734 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.1439, allocations: 321.5 kB / 0.6737 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.1439, allocations: 31.78 kB / 0.6737 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.144, allocations: 8 kB / 0.6737 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.027e-05/0.144, allocations: 4 kB / 0.6737 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.1441, allocations: 19.92 kB / 0.6737 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.1441, allocations: 7.984 kB / 0.6737 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.425e-05/0.1442, allocations: 193.1 kB / 0.6739 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1442, allocations: 0 / 0.6739 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002748/0.1444, allocations: 87.77 kB / 0.674 GB, free: 4.039 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.0002491/0.1447, allocations: 131.1 kB / 0.6741 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001767/0.1449, allocations: 78.92 kB / 0.6742 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1449, allocations: 4.312 kB / 0.6742 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.247e-05/0.1449, allocations: 47.55 kB / 0.6743 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.1453, allocations: 91.64 kB / 0.6743 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008405/0.1461, allocations: 0.5278 MB / 0.6749 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.161e-05/0.1462, allocations: 96.23 kB / 0.675 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001021/0.1463, allocations: 49.91 kB / 0.675 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.249e-05/0.1463, allocations: 20.5 kB / 0.675 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of SimCode: time 7.41e-07/0.1463, allocations: 0 / 0.675 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of Templates: time 0.3201/0.4665, allocations: 3.654 MB / 0.6786 GB, free: 61.38 MB / 0.6355 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: 4.553508155979216]