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.0006771/0.0006771, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009271/0.001604, allocations: 440 kB / 10.41 MB, free: 284 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.0008852/0.0008852, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001016/0.001902, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9484/0.9484, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09109/1.039, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.8854/0.8854, allocations: 155.3 MB / 399.5 MB, free: 15.8 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.3066/1.192, allocations: 49.13 MB / 448.6 MB, free: 5.906 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.743e-06/1.743e-06, allocations: 0 / 450 MB, free: 4.566 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.517e-05, allocations: 6.25 kB / 450 MB, free: 4.559 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.143/0.1431, allocations: 146.5 MB / 0.5825 GB, free: 1.957 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001819/0.1449, allocations: 1.02 MB / 0.5835 GB, free: 0.9336 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000232/0.1451, allocations: 19.81 kB / 0.5836 GB, free: 0.9141 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002596/0.1454, allocations: 95.2 kB / 0.5836 GB, free: 0.8203 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0007547/0.1461, allocations: 405.7 kB / 0.584 GB, free: 432 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006507/0.1468, allocations: 363.1 kB / 0.5844 GB, free: 68 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0006714/0.1474, allocations: 0.7054 MB / 0.5851 GB, free: 15.36 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003247/0.1478, allocations: 217.4 kB / 0.5853 GB, free: 15.14 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005215/0.1483, allocations: 395 kB / 0.5857 GB, free: 14.76 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002739/0.1486, allocations: 219.4 kB / 0.5859 GB, free: 14.54 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002955/0.1489, allocations: 20 kB / 0.5859 GB, free: 14.52 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003387/0.1492, allocations: 203.5 kB / 0.5861 GB, free: 14.32 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 8.339e-05/0.1493, allocations: 91.7 kB / 0.5862 GB, free: 14.23 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 8.348e-05/0.1494, allocations: 95.81 kB / 0.5863 GB, free: 14.14 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003965/0.1498, allocations: 306.9 kB / 0.5865 GB, free: 13.84 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.286e-05/0.1498, allocations: 4 kB / 0.5866 GB, free: 13.84 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1498, allocations: 4 kB / 0.5866 GB, free: 13.83 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.1498, allocations: 0 / 0.5866 GB, free: 13.83 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.0005989/0.1504, allocations: 0.5873 MB / 0.5871 GB, free: 13.22 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.1504, allocations: 11.97 kB / 0.5871 GB, free: 13.21 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002869/0.1507, allocations: 161.8 kB / 0.5873 GB, free: 13.04 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.151, allocations: 256.6 kB / 0.5875 GB, free: 12.76 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.151, allocations: 21.03 kB / 0.5876 GB, free: 12.74 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.1511, allocations: 28.12 kB / 0.5876 GB, free: 12.71 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.1513, allocations: 252.5 kB / 0.5878 GB, free: 12.44 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1513, allocations: 0 / 0.5878 GB, free: 12.44 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.1513, allocations: 12 kB / 0.5878 GB, free: 12.43 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.1513, allocations: 11.98 kB / 0.5879 GB, free: 12.41 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.555e-05/0.1514, allocations: 83.83 kB / 0.5879 GB, free: 12.33 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.0008118/0.1522, allocations: 0.9685 MB / 0.5889 GB, free: 11.32 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.1524, allocations: 109.3 kB / 0.589 GB, free: 11.2 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.594e-05/0.1524, allocations: 33.17 kB / 0.589 GB, free: 11.16 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00019/0.1526, allocations: 51.89 kB / 0.5891 GB, free: 11.11 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.1526, allocations: 30.56 kB / 0.5891 GB, free: 11.07 MB / 0.573 GB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.1526, allocations: 0 / 0.5891 GB, free: 11.07 MB / 0.573 GB Notification: Performance of matching and sorting (n=13): time 0.0002417/0.1528, allocations: 109.9 kB / 0.5892 GB, free: 10.96 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.1529, allocations: 55.41 kB / 0.5892 GB, free: 10.89 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.153, allocations: 221 kB / 0.5895 GB, free: 10.67 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.153, allocations: 33.7 kB / 0.5895 GB, free: 10.63 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 7.089e-05/0.1531, allocations: 172.6 kB / 0.5897 GB, free: 10.46 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.1531, allocations: 47.56 kB / 0.5897 GB, free: 10.41 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/0.1531, allocations: 37.66 kB / 0.5897 GB, free: 10.37 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.048e-05/0.1532, allocations: 338.7 kB / 0.5901 GB, free: 10.03 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.615e-05/0.1533, allocations: 22.75 kB / 0.5901 GB, free: 10.01 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.345e-05/0.1533, allocations: 138.1 kB / 0.5902 GB, free: 9.836 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.119e-05/0.1534, allocations: 94.64 kB / 0.5903 GB, free: 9.723 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.1534, allocations: 0 / 0.5903 GB, free: 9.723 MB / 0.573 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001186/0.1535, allocations: 104.3 kB / 0.5904 GB, free: 9.613 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.1535, allocations: 8 kB / 0.5904 GB, free: 9.605 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1535, allocations: 4 kB / 0.5904 GB, free: 9.602 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1536, allocations: 4 kB / 0.5904 GB, free: 9.598 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.978e-05/0.1537, allocations: 39.92 kB / 0.5905 GB, free: 9.559 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.1537, allocations: 0 / 0.5905 GB, free: 9.559 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.065e-05/0.1537, allocations: 16.09 kB / 0.5905 GB, free: 9.543 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.1537, allocations: 11.94 kB / 0.5905 GB, free: 9.531 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 7.235e-05/0.1538, allocations: 124.6 kB / 0.5906 GB, free: 9.398 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.1538, allocations: 15.98 kB / 0.5906 GB, free: 9.383 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.154, allocations: 102.5 kB / 0.5907 GB, free: 9.277 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.154, allocations: 4 kB / 0.5907 GB, free: 9.273 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.154, allocations: 0 / 0.5907 GB, free: 9.273 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.154, allocations: 0 / 0.5907 GB, free: 9.273 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004109/0.1544, allocations: 499.9 kB / 0.5912 GB, free: 8.73 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.1544, allocations: 4.047 kB / 0.5912 GB, free: 8.727 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.615e-05/0.1545, allocations: 27.97 kB / 0.5912 GB, free: 8.699 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.81e-05/0.1545, allocations: 31.84 kB / 0.5913 GB, free: 8.668 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1545, allocations: 3.938 kB / 0.5913 GB, free: 8.664 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.1545, allocations: 4 kB / 0.5913 GB, free: 8.66 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.1545, allocations: 7.938 kB / 0.5913 GB, free: 8.652 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1545, allocations: 4.156 kB / 0.5913 GB, free: 8.648 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.1547, allocations: 292 kB / 0.5916 GB, free: 8.316 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.1547, allocations: 7.938 kB / 0.5916 GB, free: 8.309 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.995e-05/0.1548, allocations: 7.984 kB / 0.5916 GB, free: 8.301 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.1548, allocations: 19.98 kB / 0.5916 GB, free: 8.281 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.1548, allocations: 8 kB / 0.5916 GB, free: 8.273 MB / 0.573 GB Notification: Performance of sorting global known variables: time 5.51e-05/0.1549, allocations: 70.78 kB / 0.5917 GB, free: 8.203 MB / 0.573 GB Notification: Performance of sort global known variables: time 5e-08/0.1549, allocations: 0 / 0.5917 GB, free: 8.203 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002405/0.1551, allocations: 87.77 kB / 0.5917 GB, free: 8.117 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.0002132/0.1553, allocations: 120.2 kB / 0.5919 GB, free: 7.992 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001459/0.1555, allocations: 68.7 kB / 0.5919 GB, free: 7.922 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/0.1555, allocations: 4 kB / 0.5919 GB, free: 7.918 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 5.882e-05/0.1555, allocations: 49.55 kB / 0.592 GB, free: 7.867 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005107/0.156, allocations: 0.6355 MB / 0.5926 GB, free: 7.113 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.1583, allocations: 0.5267 MB / 0.5931 GB, free: 6.535 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.267e-05/0.1583, allocations: 96.3 kB / 0.5932 GB, free: 6.422 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 9.028e-05/0.1584, allocations: 30.12 kB / 0.5932 GB, free: 6.395 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.1586, allocations: 107.3 kB / 0.5933 GB, free: 6.289 MB / 0.573 GB Notification: Performance of SimCode: time 7.92e-07/0.1586, allocations: 4 kB / 0.5933 GB, free: 6.285 MB / 0.573 GB Notification: Performance of Templates: time 0.006822/0.1654, allocations: 4.123 MB / 0.5974 GB, free: 2.273 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.7654848266392946]