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.0009547/0.0009547, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001814/0.001814, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9734/0.9734, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.8218/0.8218, allocations: 154.6 MB / 415.6 MB, free: 0.4922 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.393e-06/1.393e-06, allocations: 0 / 0.5215 GB, free: 1.922 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.516e-05, allocations: 3.719 kB / 0.5215 GB, free: 1.918 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1693/0.1693, allocations: 144 MB / 0.6621 GB, free: 1.613 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001861/0.1712, allocations: 0.9855 MB / 0.6631 GB, free: 0.625 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002822/0.1714, allocations: 15.88 kB / 0.6631 GB, free: 0.6094 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003385/0.1718, allocations: 95.2 kB / 0.6632 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00086/0.1726, allocations: 409.7 kB / 0.6636 GB, free: 116 kB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007988/0.1734, allocations: 371.1 kB / 0.6639 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0007292/0.1742, allocations: 0.7016 MB / 0.6646 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003678/0.1745, allocations: 242.9 kB / 0.6649 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005609/0.1751, allocations: 375.1 kB / 0.6652 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002601/0.1754, allocations: 239.3 kB / 0.6654 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.404e-05/0.1754, allocations: 24 kB / 0.6655 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003163/0.1757, allocations: 187.5 kB / 0.6656 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.1758, allocations: 119.6 kB / 0.6658 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.181e-05/0.1759, allocations: 107.7 kB / 0.6659 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0007509/0.1767, allocations: 346.8 kB / 0.6662 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1767, allocations: 0 / 0.6662 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.114e-06/0.1767, allocations: 0 / 0.6662 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.1767, allocations: 4 kB / 0.6662 GB, free: 13.44 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.0006131/0.1773, allocations: 0.6516 MB / 0.6668 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.1773, allocations: 12.03 kB / 0.6668 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002507/0.1776, allocations: 88.61 kB / 0.6669 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.1779, allocations: 275.4 kB / 0.6672 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.1779, allocations: 21.03 kB / 0.6672 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.1779, allocations: 32.11 kB / 0.6672 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.1782, allocations: 261.5 kB / 0.6675 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.108e-06/0.1782, allocations: 0 / 0.6675 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.1782, allocations: 12 kB / 0.6675 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.1782, allocations: 4 kB / 0.6675 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.73e-05/0.1783, allocations: 75.31 kB / 0.6676 GB, free: 11.93 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.0009061/0.1792, allocations: 1.383 MB / 0.6689 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.1793, allocations: 67.03 kB / 0.669 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.355e-05/0.1794, allocations: 27.67 kB / 0.669 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002049/0.1796, allocations: 55.94 kB / 0.6691 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.1796, allocations: 37.33 kB / 0.6691 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.833e-06/0.1796, allocations: 0 / 0.6691 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.000295/0.1799, allocations: 136.8 kB / 0.6692 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.1799, allocations: 55.41 kB / 0.6693 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.1801, allocations: 276.2 kB / 0.6696 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.1801, allocations: 33.7 kB / 0.6696 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.1802, allocations: 238.9 kB / 0.6698 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.1802, allocations: 47.58 kB / 0.6699 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.966e-05/0.1803, allocations: 51.3 kB / 0.6699 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1804, allocations: 0.5078 MB / 0.6704 GB, free: 8.887 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.1804, allocations: 11.98 kB / 0.6704 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.934e-05/0.1805, allocations: 159.1 kB / 0.6706 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.733e-05/0.1806, allocations: 105.1 kB / 0.6707 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.1806, allocations: 0 / 0.6707 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001477/0.1807, allocations: 125.5 kB / 0.6708 GB, free: 8.422 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1808, allocations: 6.031 kB / 0.6708 GB, free: 8.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1808, allocations: 4 kB / 0.6708 GB, free: 8.414 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.1808, allocations: 0 / 0.6708 GB, free: 8.414 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.1809, allocations: 35.92 kB / 0.6708 GB, free: 8.379 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.327e-06/0.1809, allocations: 0 / 0.6708 GB, free: 8.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.861e-05/0.1809, allocations: 23.83 kB / 0.6709 GB, free: 8.355 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.181, allocations: 7.984 kB / 0.6709 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 9.136e-05/0.1811, allocations: 168.7 kB / 0.671 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.441e-05/0.1811, allocations: 27.91 kB / 0.6711 GB, free: 8.145 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.1813, allocations: 115.4 kB / 0.6712 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1813, allocations: 4 kB / 0.6712 GB, free: 8.023 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.1813, allocations: 3.938 kB / 0.6712 GB, free: 8.02 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1813, allocations: 0 / 0.6712 GB, free: 8.02 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004683/0.1817, allocations: 0.5034 MB / 0.6717 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1817, allocations: 4 kB / 0.6717 GB, free: 7.449 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.449e-05/0.1818, allocations: 27.92 kB / 0.6717 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.1818, allocations: 4 kB / 0.6717 GB, free: 7.418 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.1818, allocations: 7.938 kB / 0.6717 GB, free: 7.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.1818, allocations: 4 kB / 0.6717 GB, free: 7.406 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.1818, allocations: 4 kB / 0.6717 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.182, allocations: 313.5 kB / 0.672 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.291e-05/0.1821, allocations: 31.84 kB / 0.672 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.1821, allocations: 16.02 kB / 0.6721 GB, free: 7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.266e-05/0.1821, allocations: 4 kB / 0.6721 GB, free: 6.996 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.1822, allocations: 19.92 kB / 0.6721 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.1822, allocations: 4 kB / 0.6721 GB, free: 6.973 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.009e-05/0.1823, allocations: 185.1 kB / 0.6723 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.1823, allocations: 0 / 0.6723 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003058/0.1826, allocations: 83.78 kB / 0.6723 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.0001959/0.1828, allocations: 135.1 kB / 0.6725 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001371/0.1829, allocations: 75.53 kB / 0.6725 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1829, allocations: 0 / 0.6725 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.755e-05/0.183, allocations: 47.53 kB / 0.6726 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.1834, allocations: 108.5 kB / 0.6727 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009526/0.1843, allocations: 0.5199 MB / 0.6732 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.457e-05/0.1844, allocations: 100.3 kB / 0.6733 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.299e-05/0.1845, allocations: 21.95 kB / 0.6733 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.1846, allocations: 146.1 kB / 0.6735 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of SimCode: time 6.71e-07/0.1846, allocations: 3.938 kB / 0.6735 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of Templates: time 0.007146/0.1918, allocations: 4.09 MB / 0.6775 GB, free: 1.496 MB / 0.6355 GB " [Timeout remaining time 659] 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.281860006973147]