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.001598/0.001598, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001879/0.001879, allocations: 217.4 kB / 22.99 MB, free: 4.945 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.1371/0.1371, allocations: 23.98 MB / 337.2 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.002109/0.002109, allocations: 71.89 kB / 472.5 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3376, allocations: 59.9 MB / 0.52 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.003707/0.3413, allocations: 2.813 MB / 0.5227 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005946/0.3473, allocations: 5.545 MB / 0.5281 GB, free: 4.094 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003198/0.3476, allocations: 12.56 kB / 0.5281 GB, free: 4.086 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000478/0.3481, allocations: 143.4 kB / 0.5283 GB, free: 4.012 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006032/0.3487, allocations: 250.2 kB / 0.5285 GB, free: 3.852 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002222/0.3509, allocations: 0.9763 MB / 0.5295 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006293/0.3515, allocations: 493.5 kB / 0.5299 GB, free: 3.039 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002696/0.3518, allocations: 139.3 kB / 0.5301 GB, free: 2.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000244/0.352, allocations: 242.5 kB / 0.5303 GB, free: 2.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003428/0.3524, allocations: 233.9 kB / 0.5305 GB, free: 2.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.453e-05/0.3525, allocations: 25.94 kB / 0.5305 GB, free: 2.832 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.3538, allocations: 0.5196 MB / 0.531 GB, free: 2.715 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.3539, allocations: 86.62 kB / 0.5311 GB, free: 2.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001942/0.3541, allocations: 151.5 kB / 0.5313 GB, free: 2.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001469/0.3555, allocations: 1.031 MB / 0.5323 GB, free: 2.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3555, allocations: 4.609 kB / 0.5323 GB, free: 2.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3555, allocations: 0 / 0.5323 GB, free: 2.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.3556, allocations: 1.375 kB / 0.5323 GB, free: 2.16 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.0009236/0.3565, allocations: 0.6896 MB / 0.533 GB, free: 1.645 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3565, allocations: 9.406 kB / 0.533 GB, free: 1.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005153/0.357, allocations: 115.9 kB / 0.5331 GB, free: 1.609 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005675/0.3576, allocations: 319.3 kB / 0.5334 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.3576, allocations: 13.66 kB / 0.5334 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.975e-05/0.3577, allocations: 26.78 kB / 0.5334 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005646/0.3582, allocations: 381.5 kB / 0.5338 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.3582, allocations: 0 / 0.5338 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.307e-05/0.3583, allocations: 10.22 kB / 0.5338 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.3583, allocations: 5.594 kB / 0.5338 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007618/0.3591, allocations: 0.5426 MB / 0.5343 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/0.3606, allocations: 1.291 MB / 0.5356 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003075/0.3609, allocations: 151.2 kB / 0.5357 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.361, allocations: 86.67 kB / 0.5358 GB, free: 0 / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001916/0.363, allocations: 0.9349 MB / 0.5367 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.363, allocations: 40 kB / 0.5368 GB, free: 15.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.363, allocations: 0 / 0.5368 GB, free: 15.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004791/0.3635, allocations: 216.9 kB / 0.537 GB, free: 15.42 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.3635, allocations: 52.97 kB / 0.537 GB, free: 15.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000379/0.3639, allocations: 352.9 kB / 0.5374 GB, free: 15.17 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.3639, allocations: 29.7 kB / 0.5374 GB, free: 15.13 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.3641, allocations: 241.6 kB / 0.5376 GB, free: 14.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.319e-05/0.3641, allocations: 45.83 kB / 0.5377 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.829e-05/0.3642, allocations: 70.94 kB / 0.5377 GB, free: 14.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3644, allocations: 352.4 kB / 0.5381 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.3645, allocations: 59.66 kB / 0.5381 GB, free: 14.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/0.3648, allocations: 238.3 kB / 0.5384 GB, free: 14.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000422/0.3652, allocations: 348.5 kB / 0.5387 GB, free: 13.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.3652, allocations: 1.375 kB / 0.5387 GB, free: 13.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005341/0.3657, allocations: 347.3 kB / 0.539 GB, free: 13.78 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.3658, allocations: 8.609 kB / 0.539 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.3658, allocations: 6.531 kB / 0.539 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.3658, allocations: 16.36 kB / 0.5391 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.366, allocations: 80.39 kB / 0.5391 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/0.366, allocations: 13.78 kB / 0.5391 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.3662, allocations: 33.39 kB / 0.5392 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-05/0.3663, allocations: 23.86 kB / 0.5392 GB, free: 13.73 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.0001627/0.3664, allocations: 155.3 kB / 0.5393 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-05/0.3665, allocations: 34.33 kB / 0.5394 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000553/0.367, allocations: 289.6 kB / 0.5397 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3671, allocations: 1.031 kB / 0.5397 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3671, allocations: 0 / 0.5397 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3671, allocations: 0.75 kB / 0.5397 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000692/0.3677, allocations: 0.5514 MB / 0.5402 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3678, allocations: 5.562 kB / 0.5402 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.305e-05/0.3678, allocations: 16.33 kB / 0.5402 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.3678, allocations: 10.09 kB / 0.5402 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.3678, allocations: 1.188 kB / 0.5402 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.3678, allocations: 3.109 kB / 0.5402 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3678, allocations: 1.969 kB / 0.5402 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.3681, allocations: 176.2 kB / 0.5404 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.047e-05/0.3681, allocations: 36.31 kB / 0.5404 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.017e-05/0.3682, allocations: 12 kB / 0.5404 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.954e-05/0.3683, allocations: 1.062 kB / 0.5404 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.132e-05/0.3683, allocations: 6.594 kB / 0.5405 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.3683, allocations: 7.594 kB / 0.5405 GB, free: 12.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003258/0.3686, allocations: 281.2 kB / 0.5407 GB, free: 12.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3686, allocations: 3.938 kB / 0.5407 GB, free: 12.6 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006348/0.3693, allocations: 172.1 kB / 0.5409 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.0005578/0.3698, allocations: 308.4 kB / 0.5412 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000321/0.3702, allocations: 157.2 kB / 0.5413 GB, free: 12.33 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3702, allocations: 1.469 kB / 0.5413 GB, free: 12.33 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.961e-05/0.3702, allocations: 30.97 kB / 0.5414 GB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004836/0.3707, allocations: 86.84 kB / 0.5415 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009651/0.3717, allocations: 0.5769 MB / 0.542 GB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001715/0.3718, allocations: 165.2 kB / 0.5422 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.372, allocations: 63.73 kB / 0.5422 GB, free: 11.79 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.372, allocations: 0 / 0.5422 GB, free: 11.79 MB / 398.1 MB Notification: Performance of Templates: time 0.009452/0.3814, allocations: 5.741 MB / 0.5478 GB, free: 9.707 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.837198053020984] Failed to read output from testmodel.py, exit status != 0: 0.3900433159433305 0.40383849399999994 0.045249844000000004 Calling exit ...