Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001067/0.001067, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00139/0.002458, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0008494/0.0008494, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009391/0.001789, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9378/0.9378, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08424/1.022, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34: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-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.8682/0.8682, allocations: 155.3 MB / 399.2 MB, free: 15.95 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2989/1.167, allocations: 49.14 MB / 448.4 MB, free: 6.035 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0.5469 kB / 449.7 MB, free: 4.73 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.323e-05/3.515e-05, allocations: 6.312 kB / 449.7 MB, free: 4.723 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1463/0.1463, allocations: 146.5 MB / 0.5823 GB, free: 2.125 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002004/0.1483, allocations: 1.036 MB / 0.5833 GB, free: 1.086 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002398/0.1486, allocations: 15.88 kB / 0.5833 GB, free: 1.07 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002755/0.1489, allocations: 91.22 kB / 0.5834 GB, free: 0.9805 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0008561/0.1497, allocations: 405.7 kB / 0.5838 GB, free: 0.582 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007654/0.1505, allocations: 359.1 kB / 0.5841 GB, free: 236 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0007586/0.1512, allocations: 0.7093 MB / 0.5848 GB, free: 15.52 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003807/0.1516, allocations: 221.4 kB / 0.585 GB, free: 15.3 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005787/0.1522, allocations: 386.9 kB / 0.5854 GB, free: 14.92 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003129/0.1525, allocations: 223.4 kB / 0.5856 GB, free: 14.7 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 3.88e-05/0.1525, allocations: 24 kB / 0.5856 GB, free: 14.68 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003659/0.1529, allocations: 187.6 kB / 0.5858 GB, free: 14.5 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.153, allocations: 103.7 kB / 0.5859 GB, free: 14.39 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.1531, allocations: 91.81 kB / 0.586 GB, free: 14.3 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004467/0.1536, allocations: 314.8 kB / 0.5863 GB, free: 14 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.7e-05/0.1536, allocations: 0 / 0.5863 GB, free: 14 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1536, allocations: 0 / 0.5863 GB, free: 14 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.875e-05/0.1536, allocations: 0 / 0.5863 GB, free: 14 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.0007092/0.1543, allocations: 0.5951 MB / 0.5869 GB, free: 13.38 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.1543, allocations: 8.031 kB / 0.5869 GB, free: 13.37 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003456/0.1547, allocations: 161.8 kB / 0.587 GB, free: 13.2 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/0.155, allocations: 252.7 kB / 0.5873 GB, free: 12.93 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.155, allocations: 21.03 kB / 0.5873 GB, free: 12.91 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.1551, allocations: 28.12 kB / 0.5873 GB, free: 12.88 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.1554, allocations: 252.5 kB / 0.5876 GB, free: 12.6 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1554, allocations: 4 kB / 0.5876 GB, free: 12.6 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.1554, allocations: 8 kB / 0.5876 GB, free: 12.59 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.1554, allocations: 11.94 kB / 0.5876 GB, free: 12.58 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.1555, allocations: 75.89 kB / 0.5877 GB, free: 12.5 MB / 0.573 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.0009358/0.1565, allocations: 0.9803 MB / 0.5886 GB, free: 11.48 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.1566, allocations: 113.2 kB / 0.5887 GB, free: 11.36 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.226e-05/0.1567, allocations: 35.67 kB / 0.5888 GB, free: 11.32 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000218/0.1569, allocations: 43.95 kB / 0.5888 GB, free: 11.27 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.1569, allocations: 30.56 kB / 0.5888 GB, free: 11.23 MB / 0.573 GB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.1569, allocations: 0 / 0.5888 GB, free: 11.23 MB / 0.573 GB Notification: Performance of matching and sorting (n=13): time 0.0002982/0.1572, allocations: 117.9 kB / 0.5889 GB, free: 11.11 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.1572, allocations: 55.34 kB / 0.589 GB, free: 11.05 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.1574, allocations: 224.9 kB / 0.5892 GB, free: 10.82 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.1574, allocations: 29.7 kB / 0.5892 GB, free: 10.78 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 8.42e-05/0.1575, allocations: 172.6 kB / 0.5894 GB, free: 10.61 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.1575, allocations: 51.56 kB / 0.5895 GB, free: 10.56 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.764e-05/0.1576, allocations: 41.64 kB / 0.5895 GB, free: 10.51 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.142e-05/0.1577, allocations: 330.7 kB / 0.5898 GB, free: 10.18 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.245e-05/0.1577, allocations: 18.81 kB / 0.5898 GB, free: 10.16 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.579e-05/0.1578, allocations: 146.1 kB / 0.59 GB, free: 9.98 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.518e-05/0.1579, allocations: 82.7 kB / 0.59 GB, free: 9.879 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1579, allocations: 0 / 0.59 GB, free: 9.879 MB / 0.573 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001485/0.158, allocations: 107.2 kB / 0.5901 GB, free: 9.77 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.158, allocations: 12.14 kB / 0.5902 GB, free: 9.758 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.158, allocations: 4 kB / 0.5902 GB, free: 9.754 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1581, allocations: 4 kB / 0.5902 GB, free: 9.75 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.1582, allocations: 39.92 kB / 0.5902 GB, free: 9.711 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.1582, allocations: 0 / 0.5902 GB, free: 9.711 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.808e-05/0.1583, allocations: 11.94 kB / 0.5902 GB, free: 9.699 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.1583, allocations: 11.94 kB / 0.5902 GB, free: 9.688 MB / 0.573 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.392e-05/0.1584, allocations: 124.6 kB / 0.5903 GB, free: 9.555 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.4e-05/0.1584, allocations: 15.98 kB / 0.5904 GB, free: 9.539 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001542/0.1586, allocations: 101.2 kB / 0.5905 GB, free: 9.438 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1586, allocations: 4 kB / 0.5905 GB, free: 9.434 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.1586, allocations: 0 / 0.5905 GB, free: 9.434 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.1586, allocations: 7.938 kB / 0.5905 GB, free: 9.426 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005101/0.1591, allocations: 491.9 kB / 0.5909 GB, free: 8.891 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1591, allocations: 0 / 0.5909 GB, free: 8.891 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.315e-05/0.1592, allocations: 32.05 kB / 0.591 GB, free: 8.859 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.251e-05/0.1592, allocations: 24.06 kB / 0.591 GB, free: 8.836 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.1592, allocations: 11.94 kB / 0.591 GB, free: 8.824 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.1592, allocations: 8 kB / 0.591 GB, free: 8.816 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.1592, allocations: 7.938 kB / 0.591 GB, free: 8.809 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1592, allocations: 0 / 0.591 GB, free: 8.809 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.1594, allocations: 288 kB / 0.5913 GB, free: 8.48 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.1595, allocations: 11.94 kB / 0.5913 GB, free: 8.469 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.05e-05/0.1596, allocations: 7.984 kB / 0.5913 GB, free: 8.461 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.1596, allocations: 15.98 kB / 0.5913 GB, free: 8.445 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.485e-06/0.1596, allocations: 4 kB / 0.5913 GB, free: 8.441 MB / 0.573 GB Notification: Performance of sorting global known variables: time 6.262e-05/0.1597, allocations: 74.78 kB / 0.5914 GB, free: 8.367 MB / 0.573 GB Notification: Performance of sort global known variables: time 6e-08/0.1597, allocations: 0 / 0.5914 GB, free: 8.367 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003053/0.16, allocations: 83.77 kB / 0.5915 GB, free: 8.285 MB / 0.573 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.0002127/0.1602, allocations: 120.2 kB / 0.5916 GB, free: 8.16 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001389/0.1603, allocations: 64.7 kB / 0.5917 GB, free: 8.094 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.1603, allocations: 12.25 kB / 0.5917 GB, free: 8.082 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 4.94e-05/0.1604, allocations: 35.66 kB / 0.5917 GB, free: 8.047 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.1608, allocations: 116.8 kB / 0.5918 GB, free: 7.934 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/0.1634, allocations: 0.5266 MB / 0.5923 GB, free: 7.355 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.363e-05/0.1635, allocations: 92.3 kB / 0.5924 GB, free: 7.246 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001206/0.1636, allocations: 37.97 kB / 0.5925 GB, free: 7.211 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/0.1638, allocations: 111.3 kB / 0.5926 GB, free: 7.102 MB / 0.573 GB Notification: Performance of SimCode: time 8.82e-07/0.1638, allocations: 0 / 0.5926 GB, free: 7.102 MB / 0.573 GB Notification: Performance of Templates: time 0.009192/0.173, allocations: 4.137 MB / 0.5966 GB, free: 3.074 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.747971841134131]