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.00123/0.00123, allocations: 81.86 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.00145/0.00145, allocations: 169.7 kB / 23.27 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.9844/0.9844, allocations: 177.1 MB / 203.7 MB, free: 5.488 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.8086/0.8086, allocations: 154.6 MB / 414.8 MB, free: 0.5391 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 2.174e-06/2.174e-06, allocations: 0 / 0.5208 GB, free: 1.922 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.863e-05, allocations: 5.812 kB / 0.5208 GB, free: 1.918 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1393/0.1393, allocations: 144 MB / 0.6614 GB, free: 1.621 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001455/0.1408, allocations: 0.9953 MB / 0.6623 GB, free: 0.625 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000181/0.141, allocations: 19.81 kB / 0.6624 GB, free: 0.6055 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000326/0.1413, allocations: 91.2 kB / 0.6624 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007691/0.142, allocations: 405.8 kB / 0.6628 GB, free: 120 kB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005435/0.1426, allocations: 363.1 kB / 0.6632 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0005756/0.1432, allocations: 0.7133 MB / 0.6639 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003129/0.1435, allocations: 227.1 kB / 0.6641 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006121/0.1441, allocations: 382.9 kB / 0.6645 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.1443, allocations: 239.3 kB / 0.6647 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.1443, allocations: 27.98 kB / 0.6647 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002415/0.1446, allocations: 179.6 kB / 0.6649 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 8.961e-05/0.1447, allocations: 123.6 kB / 0.665 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.365e-05/0.1448, allocations: 111.7 kB / 0.6651 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003596/0.1451, allocations: 346.8 kB / 0.6654 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1451, allocations: 0 / 0.6654 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.183e-06/0.1451, allocations: 0 / 0.6654 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.1451, allocations: 0 / 0.6654 GB, free: 13.45 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.0005648/0.1457, allocations: 0.6477 MB / 0.6661 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.1457, allocations: 12.03 kB / 0.6661 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002244/0.146, allocations: 96.59 kB / 0.6662 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.1462, allocations: 263.4 kB / 0.6664 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.1462, allocations: 21.03 kB / 0.6664 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.1463, allocations: 32.12 kB / 0.6665 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/0.1465, allocations: 261.5 kB / 0.6667 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.1465, allocations: 3.938 kB / 0.6667 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.1466, allocations: 12 kB / 0.6667 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.1466, allocations: 7.938 kB / 0.6667 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.224e-05/0.1467, allocations: 75.38 kB / 0.6668 GB, free: 11.94 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.0008597/0.1475, allocations: 1.383 MB / 0.6682 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.196e-05/0.1476, allocations: 66.97 kB / 0.6682 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.382e-05/0.1476, allocations: 39.67 kB / 0.6683 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001883/0.1478, allocations: 51.92 kB / 0.6683 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.1479, allocations: 41.39 kB / 0.6684 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.1479, allocations: 0 / 0.6684 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0002716/0.1481, allocations: 129.8 kB / 0.6685 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.1482, allocations: 59.34 kB / 0.6685 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.1483, allocations: 276.2 kB / 0.6688 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.1483, allocations: 29.69 kB / 0.6688 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.789e-05/0.1484, allocations: 238.9 kB / 0.6691 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.1484, allocations: 51.56 kB / 0.6691 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/0.1485, allocations: 47.3 kB / 0.6692 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.1486, allocations: 0.5117 MB / 0.6697 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.309e-05/0.1486, allocations: 11.98 kB / 0.6697 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.413e-05/0.1487, allocations: 155.2 kB / 0.6698 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.32e-05/0.1488, allocations: 100.2 kB / 0.6699 GB, free: 8.555 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1488, allocations: 0 / 0.6699 GB, free: 8.555 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001413/0.1489, allocations: 133.4 kB / 0.67 GB, free: 8.418 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.1489, allocations: 6.031 kB / 0.67 GB, free: 8.414 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.149, allocations: 4 kB / 0.67 GB, free: 8.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.149, allocations: 0 / 0.67 GB, free: 8.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.524e-05/0.1491, allocations: 27.98 kB / 0.6701 GB, free: 8.383 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1491, allocations: 7.984 kB / 0.6701 GB, free: 8.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.774e-05/0.1491, allocations: 19.83 kB / 0.6701 GB, free: 8.355 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.1491, allocations: 8 kB / 0.6701 GB, free: 8.348 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.545e-05/0.1492, allocations: 164.5 kB / 0.6703 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.1492, allocations: 27.95 kB / 0.6703 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.1494, allocations: 111.4 kB / 0.6704 GB, free: 8.035 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1494, allocations: 4 kB / 0.6704 GB, free: 8.031 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.1494, allocations: 0 / 0.6704 GB, free: 8.031 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1494, allocations: 7.922 kB / 0.6704 GB, free: 8.023 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004239/0.1498, allocations: 0.4993 MB / 0.6709 GB, free: 7.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.1498, allocations: 4.219 kB / 0.6709 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.592e-05/0.1499, allocations: 31.98 kB / 0.6709 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1499, allocations: 0 / 0.6709 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.1499, allocations: 7.938 kB / 0.6709 GB, free: 7.418 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.1499, allocations: 7.938 kB / 0.6709 GB, free: 7.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1499, allocations: 0 / 0.6709 GB, free: 7.41 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004091/0.1503, allocations: 327.8 kB / 0.6713 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.1503, allocations: 27.84 kB / 0.6713 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.1503, allocations: 11.94 kB / 0.6713 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.697e-05/0.1504, allocations: 4 kB / 0.6713 GB, free: 7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.1504, allocations: 23.97 kB / 0.6713 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.1504, allocations: 4 kB / 0.6713 GB, free: 6.973 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.338e-05/0.1505, allocations: 185.1 kB / 0.6715 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.1505, allocations: 0 / 0.6715 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002234/0.1507, allocations: 83.78 kB / 0.6716 GB, free: 6.711 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.0001814/0.1509, allocations: 131.1 kB / 0.6717 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001158/0.151, allocations: 75.53 kB / 0.6718 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.151, allocations: 0 / 0.6718 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.344e-05/0.1511, allocations: 43.59 kB / 0.6718 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.1514, allocations: 98.02 kB / 0.6719 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007067/0.1521, allocations: 0.5238 MB / 0.6724 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.558e-05/0.1522, allocations: 104.3 kB / 0.6725 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.232e-05/0.1523, allocations: 29.97 kB / 0.6726 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.1524, allocations: 138.1 kB / 0.6727 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of SimCode: time 8.52e-07/0.1524, allocations: 0 / 0.6727 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of Templates: time 0.005649/0.1581, allocations: 4.043 MB / 0.6766 GB, free: 1.551 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.171563228126615]