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.001573/0.001573, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001905/0.001905, allocations: 210.9 kB / 23 MB, free: 4.566 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.448/1.448, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.1412/0.1412, allocations: 23.88 MB / 337.1 MB, free: 11.18 MB / 270.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.002162/0.002162, allocations: 67.84 kB / 472.5 MB, free: 7.145 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3349, allocations: 59.87 MB / 0.5199 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.003913/0.3388, allocations: 3.036 MB / 0.5229 GB, free: 7.695 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006097/0.3449, allocations: 6.343 MB / 0.529 GB, free: 3.066 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004181/0.3453, allocations: 12.62 kB / 0.5291 GB, free: 3.059 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005066/0.3458, allocations: 162 kB / 0.5292 GB, free: 2.965 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007012/0.3465, allocations: 251 kB / 0.5295 GB, free: 2.805 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002694/0.3492, allocations: 0.9734 MB / 0.5304 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008474/0.3501, allocations: 496.5 kB / 0.5309 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002648/0.3503, allocations: 139.8 kB / 0.531 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002857/0.3506, allocations: 233.6 kB / 0.5312 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003921/0.351, allocations: 255.1 kB / 0.5315 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.61e-05/0.3511, allocations: 24.75 kB / 0.5315 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001912/0.353, allocations: 0.5545 MB / 0.532 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.3532, allocations: 83.31 kB / 0.5321 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000204/0.3534, allocations: 182.1 kB / 0.5323 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002147/0.3555, allocations: 1.04 MB / 0.5333 GB, free: 1.039 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.3555, allocations: 2.328 kB / 0.5333 GB, free: 1.039 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3555, allocations: 4 kB / 0.5333 GB, free: 1.035 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.3555, allocations: 0 / 0.5333 GB, free: 1.035 MB / 382.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.001022/0.3565, allocations: 0.6935 MB / 0.534 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.3566, allocations: 8.5 kB / 0.534 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005463/0.3571, allocations: 104.5 kB / 0.5341 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006865/0.3578, allocations: 328.4 kB / 0.5344 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.3578, allocations: 12.97 kB / 0.5344 GB, free: 264 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.349e-05/0.3579, allocations: 25.72 kB / 0.5345 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006621/0.3586, allocations: 387.7 kB / 0.5348 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.3586, allocations: 0 / 0.5348 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.552e-05/0.3586, allocations: 6.797 kB / 0.5348 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/0.3586, allocations: 5.656 kB / 0.5348 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008786/0.3595, allocations: 0.5465 MB / 0.5354 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002055/0.3615, allocations: 1.384 MB / 0.5367 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003472/0.3619, allocations: 156 kB / 0.5369 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.3621, allocations: 91.19 kB / 0.537 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002078/0.3641, allocations: 0.9688 MB / 0.5379 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/0.3642, allocations: 34.56 kB / 0.5379 GB, free: 14.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 2.325e-06/0.3642, allocations: 1.25 kB / 0.5379 GB, free: 14.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005915/0.3648, allocations: 220.9 kB / 0.5381 GB, free: 14.22 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.378e-05/0.3649, allocations: 52.47 kB / 0.5382 GB, free: 14.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005683/0.3654, allocations: 377.1 kB / 0.5386 GB, free: 13.96 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.3655, allocations: 29.7 kB / 0.5386 GB, free: 13.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/0.3657, allocations: 231.2 kB / 0.5388 GB, free: 13.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.179e-05/0.3657, allocations: 59.69 kB / 0.5389 GB, free: 13.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.3659, allocations: 70.78 kB / 0.5389 GB, free: 13.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002296/0.3661, allocations: 344.3 kB / 0.5393 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.3663, allocations: 65.34 kB / 0.5393 GB, free: 13.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003533/0.3666, allocations: 244.8 kB / 0.5396 GB, free: 13.03 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000513/0.3671, allocations: 342.1 kB / 0.5399 GB, free: 12.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.3671, allocations: 2.75 kB / 0.5399 GB, free: 12.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006756/0.3678, allocations: 347.8 kB / 0.5402 GB, free: 12.56 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.3678, allocations: 11.31 kB / 0.5402 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.3679, allocations: 7.766 kB / 0.5402 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.245e-05/0.3679, allocations: 8.75 kB / 0.5402 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/0.3682, allocations: 70.92 kB / 0.5403 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.501e-05/0.3682, allocations: 14.5 kB / 0.5403 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000287/0.3685, allocations: 50.02 kB / 0.5404 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-05/0.3686, allocations: 20.78 kB / 0.5404 GB, free: 12.51 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.0002209/0.3688, allocations: 157.6 kB / 0.5405 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.371e-05/0.3689, allocations: 40.33 kB / 0.5406 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006328/0.3695, allocations: 278.5 kB / 0.5408 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3695, allocations: 1.312 kB / 0.5408 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.3695, allocations: 4 kB / 0.5408 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.3695, allocations: 4.641 kB / 0.5409 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009203/0.3704, allocations: 0.6117 MB / 0.5414 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3704, allocations: 1.5 kB / 0.5414 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.776e-05/0.3705, allocations: 15.95 kB / 0.5415 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.3705, allocations: 2.469 kB / 0.5415 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.3705, allocations: 1.781 kB / 0.5415 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.3705, allocations: 1.906 kB / 0.5415 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.3705, allocations: 5.875 kB / 0.5415 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.3708, allocations: 179.5 kB / 0.5416 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.721e-05/0.3709, allocations: 43.41 kB / 0.5417 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.29e-05/0.3709, allocations: 4.031 kB / 0.5417 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.371, allocations: 6.125 kB / 0.5417 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.551e-05/0.3711, allocations: 4.578 kB / 0.5417 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.3711, allocations: 3.438 kB / 0.5417 GB, free: 11.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000432/0.3715, allocations: 318.1 kB / 0.542 GB, free: 11.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3715, allocations: 0 / 0.542 GB, free: 11.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007231/0.3722, allocations: 173.1 kB / 0.5422 GB, free: 11.28 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.0005909/0.3728, allocations: 315.5 kB / 0.5425 GB, free: 11.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003474/0.3732, allocations: 161 kB / 0.5426 GB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3732, allocations: 0.5 kB / 0.5426 GB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.875e-05/0.3732, allocations: 31.7 kB / 0.5427 GB, free: 11.03 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005464/0.3738, allocations: 89.97 kB / 0.5427 GB, free: 11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.3748, allocations: 0.5764 MB / 0.5433 GB, free: 10.6 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.3752, allocations: 0.7787 MB / 0.5441 GB, free: 9.895 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.3754, allocations: 69.39 kB / 0.5441 GB, free: 9.879 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3754, allocations: 0 / 0.5441 GB, free: 9.879 MB / 398.1 MB Notification: Performance of Templates: time 0.01115/0.3865, allocations: 5.912 MB / 0.5499 GB, free: 7.691 MB / 398.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.8920837480109185] Failed to read output from testmodel.py, exit status != 0: 0.3957845419936348 0.41215048 0.05337948899999994 Calling exit ...