Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.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.001516/0.001516, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001748/0.001748, allocations: 177.3 kB / 23.36 MB, free: 1.133 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.995/0.995, allocations: 177.2 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.861/0.861, allocations: 154.9 MB / 415.1 MB, free: 256 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 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.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 480.4 MB, free: 6.469 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.807e-05/3.003e-05, allocations: 2.312 kB / 480.4 MB, free: 6.465 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1427/0.1427, allocations: 145.5 MB / 0.6113 GB, free: 4.824 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001947/0.1447, allocations: 0.861 MB / 0.6121 GB, free: 3.961 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000243/0.1449, allocations: 23.81 kB / 0.6122 GB, free: 3.938 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003812/0.1453, allocations: 71.36 kB / 0.6122 GB, free: 3.867 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0008419/0.1462, allocations: 334.2 kB / 0.6125 GB, free: 3.539 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007446/0.1469, allocations: 307.2 kB / 0.6128 GB, free: 3.238 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0006999/0.1476, allocations: 0.5533 MB / 0.6134 GB, free: 2.684 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00031/0.1479, allocations: 159.5 kB / 0.6135 GB, free: 2.523 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005267/0.1484, allocations: 299.1 kB / 0.6138 GB, free: 2.23 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002593/0.1487, allocations: 167.5 kB / 0.614 GB, free: 2.066 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 3.705e-05/0.1487, allocations: 16 kB / 0.614 GB, free: 2.051 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002147/0.1489, allocations: 83.86 kB / 0.6141 GB, free: 1.969 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.1491, allocations: 95.72 kB / 0.6142 GB, free: 1.875 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 8.583e-05/0.1491, allocations: 79.83 kB / 0.6142 GB, free: 1.797 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003923/0.1495, allocations: 239.2 kB / 0.6145 GB, free: 1.562 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.1495, allocations: 4 kB / 0.6145 GB, free: 1.559 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1495, allocations: 0 / 0.6145 GB, free: 1.559 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.1495, allocations: 0 / 0.6145 GB, free: 1.559 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.000531/0.1501, allocations: 451.5 kB / 0.6149 GB, free: 1.094 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.1501, allocations: 8.031 kB / 0.6149 GB, free: 1.086 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.593e-05/0.1502, allocations: 32.92 kB / 0.6149 GB, free: 1.055 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.1504, allocations: 218.2 kB / 0.6151 GB, free: 0.8164 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.1505, allocations: 16.38 kB / 0.6152 GB, free: 0.8008 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/0.1505, allocations: 16.38 kB / 0.6152 GB, free: 0.7852 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/0.1507, allocations: 221.1 kB / 0.6154 GB, free: 0.5273 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.1507, allocations: 3.984 kB / 0.6154 GB, free: 0.5234 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.1508, allocations: 12 kB / 0.6154 GB, free: 0.5117 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1508, allocations: 7.938 kB / 0.6154 GB, free: 0.5039 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.086e-05/0.1508, allocations: 64.83 kB / 0.6155 GB, free: 444 kB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008558/0.1517, allocations: 1.166 MB / 0.6166 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.1519, allocations: 303.5 kB / 0.6169 GB, free: 14.85 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.311e-05/0.1519, allocations: 72.38 kB / 0.617 GB, free: 14.75 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001664/0.1521, allocations: 35.95 kB / 0.617 GB, free: 14.72 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.1521, allocations: 42.5 kB / 0.617 GB, free: 14.67 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 2.224e-06/0.1521, allocations: 0 / 0.617 GB, free: 14.67 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0002368/0.1524, allocations: 93.47 kB / 0.6171 GB, free: 14.57 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.907e-05/0.1524, allocations: 183.9 kB / 0.6173 GB, free: 14.35 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.1526, allocations: 194.5 kB / 0.6175 GB, free: 14.15 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.1526, allocations: 25.7 kB / 0.6175 GB, free: 14.12 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.299e-05/0.1527, allocations: 148.8 kB / 0.6177 GB, free: 13.97 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.1527, allocations: 39.67 kB / 0.6177 GB, free: 13.93 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.152e-05/0.1527, allocations: 41.69 kB / 0.6177 GB, free: 13.88 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.872e-05/0.1528, allocations: 326.8 kB / 0.618 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.868e-05/0.1529, allocations: 18.75 kB / 0.6181 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.153, allocations: 176.9 kB / 0.6182 GB, free: 13.31 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.463e-05/0.1531, allocations: 99.19 kB / 0.6183 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1531, allocations: 4 kB / 0.6183 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001302/0.1532, allocations: 111.3 kB / 0.6184 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1532, allocations: 4 kB / 0.6184 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1532, allocations: 4 kB / 0.6184 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1532, allocations: 4 kB / 0.6184 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.297e-05/0.1533, allocations: 27.98 kB / 0.6185 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.1533, allocations: 8.156 kB / 0.6185 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.783e-05/0.1534, allocations: 20.66 kB / 0.6185 GB, free: 13 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.1534, allocations: 8 kB / 0.6185 GB, free: 12.99 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 15 * 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.539e-05/0.1535, allocations: 128.5 kB / 0.6186 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.188e-05/0.1536, allocations: 19.92 kB / 0.6187 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.1537, allocations: 74.77 kB / 0.6187 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1537, allocations: 4.031 kB / 0.6187 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1537, allocations: 4 kB / 0.6187 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1537, allocations: 3.984 kB / 0.6187 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005371/0.1542, allocations: 0.6543 MB / 0.6194 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1542, allocations: 0 / 0.6194 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.925e-05/0.1543, allocations: 27.92 kB / 0.6194 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.1543, allocations: 4 kB / 0.6194 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.1543, allocations: 0 / 0.6194 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.1543, allocations: 4 kB / 0.6194 GB, free: 12 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1543, allocations: 0 / 0.6194 GB, free: 12 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.1546, allocations: 273.7 kB / 0.6197 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.961e-05/0.1546, allocations: 27.78 kB / 0.6197 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.1546, allocations: 4.312 kB / 0.6197 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.77e-05/0.1547, allocations: 8 kB / 0.6197 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.1547, allocations: 19.86 kB / 0.6197 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.1547, allocations: 4 kB / 0.6197 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.571e-05/0.1548, allocations: 62.17 kB / 0.6198 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.1548, allocations: 0 / 0.6198 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002232/0.155, allocations: 59.89 kB / 0.6198 GB, free: 11.52 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0001859/0.1552, allocations: 100.3 kB / 0.6199 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001257/0.1553, allocations: 64.69 kB / 0.62 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.1553, allocations: 4 kB / 0.62 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.277e-05/0.1553, allocations: 28.8 kB / 0.62 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.1556, allocations: 72 kB / 0.6201 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007683/0.1564, allocations: 444.3 kB / 0.6205 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.104e-05/0.1565, allocations: 95.91 kB / 0.6206 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.453e-05/0.1565, allocations: 21.72 kB / 0.6206 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.1567, allocations: 99.33 kB / 0.6207 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of SimCode: time 1.093e-06/0.1567, allocations: 0 / 0.6207 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of Templates: time 0.005179/0.1619, allocations: 2.906 MB / 0.6236 GB, free: 7.715 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9970767716877162]