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.001322/0.001322, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001441/0.001441, allocations: 210.9 kB / 22.99 MB, free: 4.957 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1358/0.1358, allocations: 23.92 MB / 337.1 MB, free: 11 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.002047/0.002047, allocations: 70.88 kB / 472.4 MB, free: 6.953 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3763, allocations: 59.87 MB / 0.5198 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.003867/0.3802, allocations: 2.818 MB / 0.5226 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006178/0.3864, allocations: 5.552 MB / 0.528 GB, free: 4.078 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003852/0.3867, allocations: 12.94 kB / 0.528 GB, free: 4.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005173/0.3873, allocations: 133.4 kB / 0.5281 GB, free: 4.004 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006971/0.388, allocations: 255.5 kB / 0.5284 GB, free: 3.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002678/0.3906, allocations: 0.9735 MB / 0.5293 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007908/0.3914, allocations: 497.4 kB / 0.5298 GB, free: 3.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002595/0.3917, allocations: 131.3 kB / 0.5299 GB, free: 2.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002909/0.392, allocations: 242 kB / 0.5302 GB, free: 2.898 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003785/0.3924, allocations: 249.8 kB / 0.5304 GB, free: 2.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.159e-05/0.3924, allocations: 24.81 kB / 0.5304 GB, free: 2.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001552/0.394, allocations: 0.5292 MB / 0.5309 GB, free: 2.688 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.3941, allocations: 90.31 kB / 0.531 GB, free: 2.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002106/0.3943, allocations: 151.8 kB / 0.5312 GB, free: 2.566 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001625/0.3959, allocations: 1.039 MB / 0.5322 GB, free: 2.125 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3959, allocations: 0 / 0.5322 GB, free: 2.125 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3959, allocations: 0 / 0.5322 GB, free: 2.125 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.904e-06/0.3959, allocations: 1.219 kB / 0.5322 GB, free: 2.125 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.000979/0.3969, allocations: 0.6899 MB / 0.5329 GB, free: 1.609 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.397, allocations: 8.656 kB / 0.5329 GB, free: 1.609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005386/0.3975, allocations: 112.6 kB / 0.533 GB, free: 1.578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005856/0.3981, allocations: 315.7 kB / 0.5333 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.3981, allocations: 17.78 kB / 0.5333 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.435e-05/0.3982, allocations: 26.06 kB / 0.5333 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006264/0.3988, allocations: 384.9 kB / 0.5337 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.3988, allocations: 0 / 0.5337 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.3988, allocations: 11.77 kB / 0.5337 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.3989, allocations: 5.938 kB / 0.5337 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008312/0.3997, allocations: 0.5445 MB / 0.5342 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001666/0.4014, allocations: 1.292 MB / 0.5355 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003491/0.4017, allocations: 154.2 kB / 0.5356 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.4019, allocations: 87.19 kB / 0.5357 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0021/0.404, allocations: 0.9377 MB / 0.5366 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.404, allocations: 32.88 kB / 0.5367 GB, free: 15.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.404, allocations: 0 / 0.5367 GB, free: 15.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004836/0.4045, allocations: 215.4 kB / 0.5369 GB, free: 15.38 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.4045, allocations: 57.69 kB / 0.5369 GB, free: 15.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003714/0.4049, allocations: 353.2 kB / 0.5373 GB, free: 15.12 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.4049, allocations: 26.89 kB / 0.5373 GB, free: 15.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.4051, allocations: 239.3 kB / 0.5375 GB, free: 14.89 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.52e-05/0.4052, allocations: 49.09 kB / 0.5376 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.4053, allocations: 68.94 kB / 0.5376 GB, free: 14.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.4054, allocations: 348.6 kB / 0.538 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.4055, allocations: 64.77 kB / 0.538 GB, free: 14.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/0.4058, allocations: 246.8 kB / 0.5383 GB, free: 14.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004175/0.4062, allocations: 347.1 kB / 0.5386 GB, free: 13.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.85e-06/0.4062, allocations: 2.75 kB / 0.5386 GB, free: 13.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005448/0.4068, allocations: 346.6 kB / 0.5389 GB, free: 13.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.4068, allocations: 7.812 kB / 0.5389 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.4068, allocations: 6.453 kB / 0.5389 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.4068, allocations: 8.594 kB / 0.539 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.4071, allocations: 76 kB / 0.539 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.76e-05/0.4071, allocations: 14.11 kB / 0.539 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.4073, allocations: 37.03 kB / 0.5391 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-05/0.4073, allocations: 29.34 kB / 0.5391 GB, free: 13.69 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.0001688/0.4075, allocations: 154.8 kB / 0.5393 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.545e-05/0.4075, allocations: 33.61 kB / 0.5393 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005726/0.4081, allocations: 280.6 kB / 0.5396 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.4081, allocations: 2.5 kB / 0.5396 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4081, allocations: 0 / 0.5396 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4081, allocations: 4 kB / 0.5396 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000689/0.4088, allocations: 0.5482 MB / 0.5401 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.4088, allocations: 1.5 kB / 0.5401 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.98e-05/0.4089, allocations: 10.75 kB / 0.5401 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.4089, allocations: 11.11 kB / 0.5401 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.4089, allocations: 1.625 kB / 0.5401 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.4089, allocations: 6.391 kB / 0.5401 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4089, allocations: 2.875 kB / 0.5401 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.4091, allocations: 182.5 kB / 0.5403 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.638e-05/0.4092, allocations: 32.84 kB / 0.5403 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.995e-05/0.4093, allocations: 16.22 kB / 0.5403 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.058e-05/0.4094, allocations: 2.625 kB / 0.5404 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.056e-05/0.4094, allocations: 5.453 kB / 0.5404 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.4094, allocations: 3.469 kB / 0.5404 GB, free: 12.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003257/0.4097, allocations: 280.2 kB / 0.5406 GB, free: 12.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4097, allocations: 0 / 0.5406 GB, free: 12.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006431/0.4104, allocations: 172.8 kB / 0.5408 GB, free: 12.52 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.0005752/0.4109, allocations: 304.9 kB / 0.5411 GB, free: 12.35 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003263/0.4113, allocations: 158 kB / 0.5412 GB, free: 12.3 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4113, allocations: 0 / 0.5412 GB, free: 12.3 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.097e-05/0.4113, allocations: 32.69 kB / 0.5413 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005183/0.4118, allocations: 93.22 kB / 0.5414 GB, free: 12.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008952/0.4127, allocations: 0.5535 MB / 0.5419 GB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.4129, allocations: 166 kB / 0.5421 GB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002541/0.4132, allocations: 88.62 kB / 0.5421 GB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.421e-05/0.4133, allocations: 43.19 kB / 0.5422 GB, free: 11.75 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4133, allocations: 0 / 0.5422 GB, free: 11.75 MB / 398.1 MB Notification: Performance of Templates: time 0.01205/0.4253, allocations: 6.493 MB / 0.5485 GB, free: 9.445 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 -s cvode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.965316938003525] Failed to read output from testmodel.py, exit status != 0: 0.43360743000812363 0.44731318899999994 0.048384342000000004 Calling exit ...