Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TILMedia_TILMedia.Testers.TestGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01147/0.01147, allocations: 1.784 MB / 21.64 MB, free: 2.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.6516/0.6516, allocations: 102.5 MB / 127.9 MB, free: 12.34 MB / 122.8 MB " [Timeout remaining time 179] 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.0009297/0.0009297, allocations: 83.31 kB / 159.3 MB, free: 13.05 MB / 154.8 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.00105/0.00105, allocations: 173.9 kB / 162.8 MB, free: 9.625 MB / 154.8 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 1.026/1.026, allocations: 177.1 MB / 343.2 MB, free: 7.352 MB / 314.8 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/package.mo): time 0.07499/0.07499, allocations: 18.23 MB / 417.9 MB, free: 12.41 MB / 394.8 MB " [Timeout remaining time 180] Using package TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/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) Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo) Using package SMArtInt with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(TILMedia.Testers.TestGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="TILMedia_TILMedia.Testers.TestGas") translateModel(TILMedia.Testers.TestGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="TILMedia_TILMedia.Testers.TestGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 444.9 MB, free: 0.9727 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.554e-05/2.712e-05, allocations: 4.641 kB / 444.9 MB, free: 0.9688 MB / 394.8 MB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas): time 0.004029/0.004056, allocations: 2.846 MB / 447.7 MB, free: 15.09 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.01451, allocations: 11.51 MB / 459.2 MB, free: 4.59 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002157/0.01472, allocations: 4 kB / 459.2 MB, free: 4.586 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0007702/0.01549, allocations: 235.5 kB / 459.5 MB, free: 4.355 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003664/0.01586, allocations: 280.5 kB / 459.7 MB, free: 4.082 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004115/0.01997, allocations: 2.473 MB / 462.2 MB, free: 1.609 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0007951/0.02077, allocations: 1.019 MB / 463.2 MB, free: 0.5938 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.83e-05/0.02084, allocations: 30.19 kB / 463.3 MB, free: 0.5625 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1074/0.1282, allocations: 44.52 MB / 0.4959 GB, free: 6.133 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009058/0.1291, allocations: 0.8891 MB / 0.4967 GB, free: 5.242 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001916/0.1293, allocations: 160 kB / 0.4969 GB, free: 5.086 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004331/0.1336, allocations: 2.657 MB / 0.4995 GB, free: 2.422 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0004844/0.1341, allocations: 0.686 MB / 0.5002 GB, free: 1.734 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0004344/0.1346, allocations: 0.5379 MB / 0.5007 GB, free: 1.195 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.00546/0.14, allocations: 4.086 MB / 0.5047 GB, free: 13.1 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.14, allocations: 4 kB / 0.5047 GB, free: 13.09 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.232e-06/0.14, allocations: 0 / 0.5047 GB, free: 13.09 MB / 474.8 MB Notification: Performance of Transformations before backend: time 1.924e-05/0.14, allocations: 0 / 0.5047 GB, free: 13.09 MB / 474.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003419/0.1435, allocations: 2.695 MB / 0.5073 GB, free: 10.37 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1435, allocations: 12.03 kB / 0.5073 GB, free: 10.36 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002315/0.1437, allocations: 100.8 kB / 0.5074 GB, free: 10.26 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008489/0.1446, allocations: 0.7833 MB / 0.5082 GB, free: 9.441 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.1446, allocations: 45.67 kB / 0.5082 GB, free: 9.395 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.1447, allocations: 56.38 kB / 0.5083 GB, free: 9.34 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004072/0.1488, allocations: 2.047 MB / 0.5103 GB, free: 7.25 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.1488, allocations: 4.188 kB / 0.5103 GB, free: 7.246 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.907e-05/0.1489, allocations: 28.11 kB / 0.5103 GB, free: 7.219 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/0.149, allocations: 137.9 kB / 0.5104 GB, free: 7.086 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005627/0.1546, allocations: 3.247 MB / 0.5136 GB, free: 3.832 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00725/0.1619, allocations: 5.11 MB / 0.5186 GB, free: 14.66 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003429/0.1653, allocations: 0.9915 MB / 0.5196 GB, free: 13.66 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/0.1656, allocations: 172.7 kB / 0.5197 GB, free: 13.48 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002348/0.1658, allocations: 149.2 kB / 0.5199 GB, free: 13.34 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.1658, allocations: 51.88 kB / 0.5199 GB, free: 13.28 MB / 490.8 MB Notification: Performance of pre-optimization done (n=142): time 3.377e-06/0.1658, allocations: 0 / 0.5199 GB, free: 13.28 MB / 490.8 MB Notification: Performance of matching and sorting (n=142): time 0.006732/0.1726, allocations: 2.218 MB / 0.5221 GB, free: 11.05 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.1726, allocations: 68.66 kB / 0.5222 GB, free: 10.97 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009176/0.1735, allocations: 0.9034 MB / 0.523 GB, free: 10.04 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 5.25e-05/0.1736, allocations: 53.7 kB / 0.5231 GB, free: 9.984 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.1738, allocations: 473.5 kB / 0.5235 GB, free: 9.516 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/0.174, allocations: 0.4957 MB / 0.524 GB, free: 9.016 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004155/0.1744, allocations: 371.1 kB / 0.5244 GB, free: 8.648 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1745, allocations: 357.8 kB / 0.5247 GB, free: 8.293 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.1749, allocations: 190.7 kB / 0.5249 GB, free: 8.105 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006503/0.1755, allocations: 0.8447 MB / 0.5257 GB, free: 6.965 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/0.1769, allocations: 1.292 MB / 0.527 GB, free: 5.336 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.1769, allocations: 8 kB / 0.527 GB, free: 5.328 MB / 490.8 MB Notification: Performance of matching and sorting (n=239) (initialization): time 0.001403/0.1783, allocations: 1.111 MB / 0.5281 GB, free: 4.176 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.1783, allocations: 15.94 kB / 0.5281 GB, free: 4.16 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.1783, allocations: 24 kB / 0.5281 GB, free: 4.137 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.869e-05/0.1784, allocations: 32 kB / 0.5282 GB, free: 4.105 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.1794, allocations: 495.2 kB / 0.5286 GB, free: 3.621 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.806e-05/0.1795, allocations: 44.23 kB / 0.5287 GB, free: 3.578 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008851/0.1803, allocations: 194.5 kB / 0.5289 GB, free: 3.387 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002116/0.1805, allocations: 204 kB / 0.529 GB, free: 3.188 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (239): * Single equations (assignments): 239 * 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.0002994/0.1808, allocations: 240 kB / 0.5293 GB, free: 2.941 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.181, allocations: 115.9 kB / 0.5294 GB, free: 2.828 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002003/0.183, allocations: 1.427 MB / 0.5308 GB, free: 1.391 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.183, allocations: 16 kB / 0.5308 GB, free: 1.375 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.183, allocations: 3.938 kB / 0.5308 GB, free: 1.371 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.183, allocations: 7.969 kB / 0.5308 GB, free: 1.363 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006218/0.1837, allocations: 0.518 MB / 0.5313 GB, free: 0.8242 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1837, allocations: 0 / 0.5313 GB, free: 0.8242 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005125/0.1842, allocations: 299.6 kB / 0.5316 GB, free: 0.5312 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.1842, allocations: 7.984 kB / 0.5316 GB, free: 0.5234 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.592e-05/0.1842, allocations: 47.97 kB / 0.5317 GB, free: 488 kB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.1842, allocations: 4 kB / 0.5317 GB, free: 484 kB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1842, allocations: 4 kB / 0.5317 GB, free: 480 kB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006861/0.1849, allocations: 0.6555 MB / 0.5323 GB, free: 15.79 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000355/0.1853, allocations: 318.6 kB / 0.5326 GB, free: 15.48 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.1854, allocations: 28 kB / 0.5326 GB, free: 15.45 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003028/0.1857, allocations: 20 kB / 0.5326 GB, free: 15.43 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.1858, allocations: 101.1 kB / 0.5327 GB, free: 15.34 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003589/0.1862, allocations: 164 kB / 0.5329 GB, free: 15.18 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0003949/0.1866, allocations: 446.8 kB / 0.5333 GB, free: 14.73 MB / 0.4949 GB Notification: Performance of sort global known variables: time 7e-08/0.1866, allocations: 4 kB / 0.5333 GB, free: 14.72 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.001043/0.1876, allocations: 0.5306 MB / 0.5338 GB, free: 14.19 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (142): * Single equations (assignments): 142 * 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.001573/0.1892, allocations: 0.9743 MB / 0.5348 GB, free: 13.32 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.00101/0.1902, allocations: 0.7663 MB / 0.5355 GB, free: 12.56 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 2.216e-05/0.1903, allocations: 17.81 kB / 0.5356 GB, free: 12.55 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0003396/0.1906, allocations: 342.7 kB / 0.5359 GB, free: 12.21 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007153/0.1913, allocations: 332.2 kB / 0.5362 GB, free: 11.89 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.1935, allocations: 1.757 MB / 0.5379 GB, free: 10.09 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.1937, allocations: 287.9 kB / 0.5382 GB, free: 9.789 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.001849/0.1956, allocations: 0.9542 MB / 0.5391 GB, free: 8.828 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/0.1967, allocations: 0.569 MB / 0.5397 GB, free: 8.258 MB / 0.4949 GB Notification: Performance of SimCode: time 1.483e-06/0.1967, allocations: 0 / 0.5397 GB, free: 8.258 MB / 0.4949 GB Notification: Performance of Templates: time 0.02591/0.2226, allocations: 26.47 MB / 0.5655 GB, free: 13.75 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f TILMedia_TILMedia.Testers.TestGas.makefile [Timeout 660] (rm -f TILMedia_TILMedia.Testers.TestGas.pipe ; mkfifo TILMedia_TILMedia.Testers.TestGas.pipe ; head -c 1048576 < TILMedia_TILMedia.Testers.TestGas.pipe >> ../files/TILMedia_TILMedia.Testers.TestGas.sim & ./TILMedia_TILMedia.Testers.TestGas -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > TILMedia_TILMedia.Testers.TestGas.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.385493109002709]