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.00167/0.00167, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001966/0.001966, allocations: 213.5 kB / 22.24 MB, free: 5.242 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.436/1.436, allocations: 230.6 MB / 256 MB, free: 7.789 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.1383/0.1383, allocations: 24 MB / 336.4 MB, free: 10.84 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.002056/0.002056, allocations: 74.53 kB / 471.8 MB, free: 6.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3147, allocations: 59.9 MB / 0.5192 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.003396/0.3181, allocations: 2.824 MB / 0.522 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005267/0.3234, allocations: 5.546 MB / 0.5274 GB, free: 4.078 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.3235, allocations: 11.22 kB / 0.5274 GB, free: 4.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004005/0.3239, allocations: 138 kB / 0.5275 GB, free: 4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005084/0.3245, allocations: 250.5 kB / 0.5278 GB, free: 3.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.3261, allocations: 0.9774 MB / 0.5287 GB, free: 3.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005563/0.3266, allocations: 490.2 kB / 0.5292 GB, free: 3.031 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002378/0.3269, allocations: 144.1 kB / 0.5293 GB, free: 2.969 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/0.3271, allocations: 236.7 kB / 0.5296 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003349/0.3274, allocations: 246.6 kB / 0.5298 GB, free: 2.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.831e-05/0.3275, allocations: 25.5 kB / 0.5298 GB, free: 2.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.3286, allocations: 0.5124 MB / 0.5303 GB, free: 2.703 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.3287, allocations: 86.38 kB / 0.5304 GB, free: 2.656 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001968/0.3289, allocations: 155.9 kB / 0.5306 GB, free: 2.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.3302, allocations: 1.031 MB / 0.5316 GB, free: 2.148 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3302, allocations: 1.375 kB / 0.5316 GB, free: 2.148 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3302, allocations: 3.938 kB / 0.5316 GB, free: 2.145 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.3302, allocations: 0 / 0.5316 GB, free: 2.145 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.0008821/0.3311, allocations: 0.6823 MB / 0.5322 GB, free: 1.637 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.3311, allocations: 9.969 kB / 0.5322 GB, free: 1.637 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004863/0.3316, allocations: 112.7 kB / 0.5323 GB, free: 1.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005412/0.3321, allocations: 322.4 kB / 0.5327 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.3322, allocations: 21.16 kB / 0.5327 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.266e-05/0.3322, allocations: 27.16 kB / 0.5327 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005435/0.3328, allocations: 376.5 kB / 0.5331 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.3328, allocations: 5.312 kB / 0.5331 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.387e-05/0.3328, allocations: 14.69 kB / 0.5331 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.3328, allocations: 4.938 kB / 0.5331 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007727/0.3336, allocations: 0.5388 MB / 0.5336 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.3351, allocations: 1.286 MB / 0.5349 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.3354, allocations: 154.6 kB / 0.535 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.3355, allocations: 87.67 kB / 0.5351 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001938/0.3375, allocations: 0.9407 MB / 0.536 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.3375, allocations: 35.97 kB / 0.536 GB, free: 15.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.3375, allocations: 0 / 0.536 GB, free: 15.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004858/0.338, allocations: 218.5 kB / 0.5363 GB, free: 15.4 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.338, allocations: 54.16 kB / 0.5363 GB, free: 15.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004087/0.3384, allocations: 351.7 kB / 0.5366 GB, free: 15.15 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.3385, allocations: 30.41 kB / 0.5367 GB, free: 15.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.3387, allocations: 236.9 kB / 0.5369 GB, free: 14.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.745e-05/0.3387, allocations: 43.17 kB / 0.5369 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.3388, allocations: 74.08 kB / 0.537 GB, free: 14.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.339, allocations: 348.3 kB / 0.5373 GB, free: 14.51 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.3391, allocations: 61.36 kB / 0.5374 GB, free: 14.49 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002667/0.3394, allocations: 241.6 kB / 0.5376 GB, free: 14.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004369/0.3398, allocations: 340.1 kB / 0.538 GB, free: 13.92 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.3398, allocations: 2.312 kB / 0.538 GB, free: 13.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005752/0.3404, allocations: 350.9 kB / 0.5383 GB, free: 13.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.3404, allocations: 8.188 kB / 0.5383 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.3404, allocations: 10.09 kB / 0.5383 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.3405, allocations: 10.42 kB / 0.5383 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.3407, allocations: 75.08 kB / 0.5384 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.798e-05/0.3407, allocations: 14.22 kB / 0.5384 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.3409, allocations: 31.5 kB / 0.5384 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.636e-05/0.341, allocations: 29.44 kB / 0.5385 GB, free: 13.72 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.0001737/0.3411, allocations: 159.2 kB / 0.5386 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.573e-05/0.3412, allocations: 34.41 kB / 0.5386 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005784/0.3418, allocations: 280.7 kB / 0.5389 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3418, allocations: 1.25 kB / 0.5389 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3418, allocations: 4.734 kB / 0.5389 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3418, allocations: 0 / 0.5389 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006903/0.3425, allocations: 0.5482 MB / 0.5395 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3425, allocations: 9.344 kB / 0.5395 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.828e-05/0.3425, allocations: 15.72 kB / 0.5395 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.3425, allocations: 5.594 kB / 0.5395 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.3426, allocations: 6.969 kB / 0.5395 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.3426, allocations: 1.875 kB / 0.5395 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3426, allocations: 1.406 kB / 0.5395 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.3428, allocations: 175.9 kB / 0.5397 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.882e-05/0.3429, allocations: 37.14 kB / 0.5397 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.756e-05/0.3429, allocations: 10.98 kB / 0.5397 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.832e-05/0.343, allocations: 3.516 kB / 0.5397 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-05/0.343, allocations: 4.859 kB / 0.5397 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.343, allocations: 8.188 kB / 0.5397 GB, free: 12.74 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003144/0.3433, allocations: 281 kB / 0.54 GB, free: 12.6 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3433, allocations: 0 / 0.54 GB, free: 12.6 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005891/0.3439, allocations: 172.6 kB / 0.5402 GB, free: 12.55 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.0005639/0.3445, allocations: 308 kB / 0.5405 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003208/0.3448, allocations: 157 kB / 0.5406 GB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3448, allocations: 0 / 0.5406 GB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.558e-05/0.3449, allocations: 32.69 kB / 0.5406 GB, free: 12.31 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004883/0.3454, allocations: 87.03 kB / 0.5407 GB, free: 12.28 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009174/0.3463, allocations: 0.5504 MB / 0.5413 GB, free: 11.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.3465, allocations: 170 kB / 0.5414 GB, free: 11.82 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002513/0.3467, allocations: 90.14 kB / 0.5415 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.175e-05/0.3468, allocations: 45.75 kB / 0.5415 GB, free: 11.78 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.3468, allocations: 0 / 0.5415 GB, free: 11.78 MB / 398.1 MB Notification: Performance of Templates: time 0.0121/0.3589, allocations: 6.41 MB / 0.5478 GB, free: 9.496 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: 4.81688629090786] Failed to read output from testmodel.py, exit status != 0: 0.3671678639948368 0.381211627 0.048102643 Calling exit ...