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.001392/0.001392, allocations: 93.06 kB / 19.65 MB, free: 276 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.001468/0.001468, allocations: 169 kB / 23.02 MB, free: 1.547 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.9246/0.9246, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.825/0.825, allocations: 154.6 MB / 414.5 MB, free: 0.6523 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.533e-06/1.533e-06, allocations: 0 / 0.5203 GB, free: 2.191 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.586e-05/2.739e-05, allocations: 3.578 kB / 0.5203 GB, free: 2.188 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1359/0.1359, allocations: 146.7 MB / 0.6636 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002017/0.1379, allocations: 0.9978 MB / 0.6646 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003057/0.1382, allocations: 15.88 kB / 0.6646 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000389/0.1386, allocations: 91.2 kB / 0.6647 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.1396, allocations: 409.7 kB / 0.6651 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008258/0.1404, allocations: 367.2 kB / 0.6654 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0008257/0.1413, allocations: 0.7093 MB / 0.6661 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005789/0.1418, allocations: 231.1 kB / 0.6663 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006858/0.1425, allocations: 379 kB / 0.6667 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003462/0.1429, allocations: 239.3 kB / 0.6669 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.379e-05/0.1429, allocations: 20 kB / 0.6669 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003685/0.1433, allocations: 191.5 kB / 0.6671 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.1434, allocations: 119.6 kB / 0.6672 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.1435, allocations: 111.8 kB / 0.6673 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005288/0.1441, allocations: 342.8 kB / 0.6677 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1441, allocations: 0 / 0.6677 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.614e-06/0.1441, allocations: 0 / 0.6677 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.1441, allocations: 4 kB / 0.6677 GB, free: 10.97 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.0007724/0.1449, allocations: 0.6438 MB / 0.6683 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.1449, allocations: 8.031 kB / 0.6683 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003524/0.1453, allocations: 96.59 kB / 0.6684 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003997/0.1457, allocations: 275.4 kB / 0.6687 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.1457, allocations: 21.03 kB / 0.6687 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.1457, allocations: 28.12 kB / 0.6687 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003997/0.1461, allocations: 269.5 kB / 0.669 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1461, allocations: 0 / 0.669 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.1461, allocations: 12 kB / 0.669 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.1462, allocations: 8 kB / 0.669 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.1463, allocations: 94.81 kB / 0.6691 GB, free: 9.438 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.00124/0.1476, allocations: 1.437 MB / 0.6705 GB, free: 7.934 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.1477, allocations: 77.78 kB / 0.6705 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.146e-05/0.1478, allocations: 39.67 kB / 0.6706 GB, free: 7.805 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002729/0.1481, allocations: 55.94 kB / 0.6706 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.1481, allocations: 41.31 kB / 0.6707 GB, free: 7.699 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.924e-06/0.1481, allocations: 0 / 0.6707 GB, free: 7.699 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0004088/0.1485, allocations: 145.8 kB / 0.6708 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.1485, allocations: 55.41 kB / 0.6709 GB, free: 7.484 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.1487, allocations: 276.2 kB / 0.6711 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.1488, allocations: 29.7 kB / 0.6712 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.1489, allocations: 246.9 kB / 0.6714 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.1489, allocations: 43.58 kB / 0.6714 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.637e-05/0.149, allocations: 51.31 kB / 0.6715 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.003147/0.1521, allocations: 0.4962 MB / 0.672 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.66e-05/0.1522, allocations: 19.98 kB / 0.672 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.1523, allocations: 173.1 kB / 0.6722 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.1525, allocations: 102.1 kB / 0.6723 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1525, allocations: 4 kB / 0.6723 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002361/0.1527, allocations: 129.5 kB / 0.6724 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.1527, allocations: 4 kB / 0.6724 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.1527, allocations: 4 kB / 0.6724 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.1528, allocations: 0 / 0.6724 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.1529, allocations: 31.92 kB / 0.6724 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.1529, allocations: 11.92 kB / 0.6724 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.657e-05/0.153, allocations: 19.98 kB / 0.6724 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.153, allocations: 12 kB / 0.6725 GB, free: 5.734 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 0.0001128/0.1531, allocations: 164.5 kB / 0.6726 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.649e-05/0.1532, allocations: 27.86 kB / 0.6726 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/0.1534, allocations: 115.4 kB / 0.6728 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1534, allocations: 4 kB / 0.6728 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1534, allocations: 0 / 0.6728 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.1534, allocations: 7.922 kB / 0.6728 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.1545, allocations: 0.5574 MB / 0.6733 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.1545, allocations: 3.938 kB / 0.6733 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.203e-05/0.1545, allocations: 32.05 kB / 0.6733 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.84e-06/0.1545, allocations: 4 kB / 0.6733 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.1546, allocations: 4 kB / 0.6733 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.1546, allocations: 3.984 kB / 0.6734 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.1546, allocations: 7.938 kB / 0.6734 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.1548, allocations: 317.2 kB / 0.6737 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/0.1548, allocations: 47.77 kB / 0.6737 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.1548, allocations: 4 kB / 0.6737 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.426e-05/0.1549, allocations: 4 kB / 0.6737 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.1549, allocations: 15.92 kB / 0.6737 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.1549, allocations: 4 kB / 0.6737 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001306/0.1551, allocations: 197.1 kB / 0.6739 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1551, allocations: 0 / 0.6739 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003932/0.1555, allocations: 79.78 kB / 0.674 GB, free: 4.027 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.0002557/0.1557, allocations: 143.1 kB / 0.6741 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002216/0.1559, allocations: 78.05 kB / 0.6742 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.156, allocations: 4 kB / 0.6742 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.095e-05/0.156, allocations: 47.55 kB / 0.6743 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005545/0.1566, allocations: 98.09 kB / 0.6744 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.1576, allocations: 0.5239 MB / 0.6749 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.171e-05/0.1577, allocations: 96.3 kB / 0.675 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001305/0.1578, allocations: 41.95 kB / 0.675 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.959e-05/0.1579, allocations: 24.5 kB / 0.675 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of SimCode: time 1.313e-06/0.1579, allocations: 0 / 0.675 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of Templates: time 0.2406/0.3985, allocations: 3.983 MB / 0.6789 GB, free: 61.44 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.29636538028717]