Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.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.001839/0.001839, allocations: 118.2 kB / 17.13 MB, free: 5.945 MB / 14.72 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.002071/0.002071, allocations: 209.5 kB / 20.09 MB, free: 2.996 MB / 14.72 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.509/1.509, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1535/0.1535, allocations: 23.91 MB / 333.4 MB, free: 1.172 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00287/0.00287, allocations: 68.83 kB / 467.2 MB, free: 30.55 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1085, allocations: 59.85 MB / 0.5147 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.004552/0.1131, allocations: 3.006 MB / 0.5177 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007898/0.121, allocations: 6.331 MB / 0.5238 GB, free: 3.008 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002413/0.1212, allocations: 11.88 kB / 0.5238 GB, free: 2.996 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004303/0.1216, allocations: 154.8 kB / 0.524 GB, free: 2.844 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006077/0.1223, allocations: 258.1 kB / 0.5242 GB, free: 2.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001862/0.1241, allocations: 0.9665 MB / 0.5252 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006694/0.1248, allocations: 486.7 kB / 0.5256 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002388/0.125, allocations: 144.5 kB / 0.5258 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002544/0.1253, allocations: 235.3 kB / 0.526 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003945/0.1257, allocations: 251.1 kB / 0.5263 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.658e-05/0.1257, allocations: 24 kB / 0.5263 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.1269, allocations: 0.5616 MB / 0.5268 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.127, allocations: 83.75 kB / 0.5269 GB, free: 15.85 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.1272, allocations: 187 kB / 0.5271 GB, free: 15.67 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001461/0.1286, allocations: 1.039 MB / 0.5281 GB, free: 14.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1286, allocations: 0 / 0.5281 GB, free: 14.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1286, allocations: 0 / 0.5281 GB, free: 14.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.1286, allocations: 4 kB / 0.5281 GB, free: 14.62 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.00112/0.1298, allocations: 0.7739 MB / 0.5289 GB, free: 13.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.1298, allocations: 8.031 kB / 0.5289 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005716/0.1304, allocations: 112.6 kB / 0.529 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005923/0.131, allocations: 368.2 kB / 0.5293 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.131, allocations: 16.81 kB / 0.5293 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.414e-05/0.131, allocations: 24.12 kB / 0.5294 GB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006444/0.1317, allocations: 385.8 kB / 0.5297 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.1317, allocations: 0 / 0.5297 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.079e-05/0.1317, allocations: 16 kB / 0.5297 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.1317, allocations: 7.984 kB / 0.5298 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008702/0.1326, allocations: 0.5475 MB / 0.5303 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001958/0.1346, allocations: 1.403 MB / 0.5317 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.1349, allocations: 155.4 kB / 0.5318 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.1351, allocations: 96.75 kB / 0.5319 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002422/0.1375, allocations: 1.899 MB / 0.5338 GB, free: 8.387 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.1376, allocations: 38.5 kB / 0.5338 GB, free: 8.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.1376, allocations: 0 / 0.5338 GB, free: 8.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.000527/0.1381, allocations: 225.4 kB / 0.534 GB, free: 8.113 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.1381, allocations: 51.41 kB / 0.5341 GB, free: 8.051 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004096/0.1385, allocations: 377.5 kB / 0.5344 GB, free: 7.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.709e-05/0.1386, allocations: 29.7 kB / 0.5344 GB, free: 7.633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.1388, allocations: 227.9 kB / 0.5347 GB, free: 7.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.233e-05/0.1388, allocations: 55.58 kB / 0.5347 GB, free: 7.352 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.808e-05/0.1389, allocations: 69.59 kB / 0.5348 GB, free: 7.277 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1391, allocations: 342.8 kB / 0.5351 GB, free: 6.934 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.1392, allocations: 75.95 kB / 0.5352 GB, free: 6.859 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002846/0.1395, allocations: 236.9 kB / 0.5354 GB, free: 6.539 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004438/0.14, allocations: 348.4 kB / 0.5357 GB, free: 6.109 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.14, allocations: 0 / 0.5357 GB, free: 6.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006187/0.1406, allocations: 349 kB / 0.5361 GB, free: 5.762 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.1406, allocations: 8 kB / 0.5361 GB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.1406, allocations: 7.938 kB / 0.5361 GB, free: 5.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.1406, allocations: 8 kB / 0.5361 GB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.1409, allocations: 79.84 kB / 0.5362 GB, free: 5.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/0.1409, allocations: 16.55 kB / 0.5362 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.1411, allocations: 51.61 kB / 0.5362 GB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.054e-05/0.1411, allocations: 24 kB / 0.5363 GB, free: 5.57 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (35): * Single equations (assignments): 35 * 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.0001899/0.1413, allocations: 153.7 kB / 0.5364 GB, free: 5.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.658e-05/0.1414, allocations: 35.77 kB / 0.5364 GB, free: 5.375 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000538/0.1419, allocations: 283 kB / 0.5367 GB, free: 5.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1419, allocations: 4 kB / 0.5367 GB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1419, allocations: 0 / 0.5367 GB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.1419, allocations: 3.938 kB / 0.5367 GB, free: 5.062 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007565/0.1427, allocations: 0.6315 MB / 0.5373 GB, free: 4.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1427, allocations: 4.031 kB / 0.5373 GB, free: 4.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.484e-05/0.1428, allocations: 15.94 kB / 0.5373 GB, free: 4.336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1428, allocations: 0 / 0.5373 GB, free: 4.336 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.1428, allocations: 4 kB / 0.5374 GB, free: 4.332 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1428, allocations: 0 / 0.5374 GB, free: 4.332 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.1428, allocations: 4 kB / 0.5374 GB, free: 4.328 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.143, allocations: 185 kB / 0.5375 GB, free: 4.113 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.1432, allocations: 116.9 kB / 0.5376 GB, free: 3.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.86e-05/0.1432, allocations: 4 kB / 0.5376 GB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1433, allocations: 12.12 kB / 0.5377 GB, free: 3.965 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.401e-05/0.1433, allocations: 8 kB / 0.5377 GB, free: 3.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.1433, allocations: 4 kB / 0.5377 GB, free: 3.953 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003913/0.1437, allocations: 315.1 kB / 0.538 GB, free: 3.648 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1437, allocations: 3.938 kB / 0.538 GB, free: 3.645 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000509/0.1442, allocations: 171.4 kB / 0.5381 GB, free: 3.477 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0005168/0.1448, allocations: 314.3 kB / 0.5384 GB, free: 3.156 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003217/0.1451, allocations: 156 kB / 0.5386 GB, free: 3.004 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1451, allocations: 4 kB / 0.5386 GB, free: 3 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.362e-05/0.1451, allocations: 29.48 kB / 0.5386 GB, free: 2.973 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005504/0.1457, allocations: 96.97 kB / 0.5387 GB, free: 2.883 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000917/0.1466, allocations: 0.5747 MB / 0.5393 GB, free: 2.258 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.147, allocations: 0.7678 MB / 0.54 GB, free: 1.461 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.1471, allocations: 71.39 kB / 0.5401 GB, free: 1.391 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1471, allocations: 0 / 0.5401 GB, free: 1.391 MB / 398.1 MB Notification: Performance of Templates: time 0.009151/0.1563, allocations: 5.913 MB / 0.5459 GB, free: 11.51 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.697440741001628] Failed to read output from testmodel.py, exit status != 0: 0.1647309999971185 0.177625219 0.046124605000000006 Calling exit ...