Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.00182/0.00182, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001483/0.001483, allocations: 213 kB / 22.99 MB, free: 4.98 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.485/1.485, 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 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1412/0.1412, allocations: 23.89 MB / 337.1 MB, free: 10.99 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.002948/0.002948, allocations: 63.89 kB / 472.4 MB, free: 7.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3717, allocations: 59.86 MB / 0.5197 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.003715/0.3755, allocations: 2.818 MB / 0.5225 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005923/0.3814, allocations: 5.545 MB / 0.5279 GB, free: 4.129 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003363/0.3817, allocations: 12.41 kB / 0.5279 GB, free: 4.121 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004964/0.3822, allocations: 142.2 kB / 0.5281 GB, free: 4.047 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007356/0.383, allocations: 259 kB / 0.5283 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002796/0.3857, allocations: 0.9724 MB / 0.5293 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007736/0.3865, allocations: 498 kB / 0.5297 GB, free: 3.066 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002606/0.3868, allocations: 135.3 kB / 0.5299 GB, free: 3.012 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002737/0.3871, allocations: 242.5 kB / 0.5301 GB, free: 2.934 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004196/0.3875, allocations: 245.6 kB / 0.5303 GB, free: 2.852 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.489e-05/0.3875, allocations: 24.41 kB / 0.5304 GB, free: 2.852 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.3891, allocations: 0.5338 MB / 0.5309 GB, free: 2.723 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.3893, allocations: 89.09 kB / 0.531 GB, free: 2.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002459/0.3895, allocations: 152.8 kB / 0.5311 GB, free: 2.602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001857/0.3914, allocations: 1.038 MB / 0.5321 GB, free: 2.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3914, allocations: 0.9375 kB / 0.5321 GB, free: 2.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3914, allocations: 0 / 0.5321 GB, free: 2.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.3914, allocations: 0 / 0.5321 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.001051/0.3924, allocations: 0.6947 MB / 0.5328 GB, free: 1.641 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3925, allocations: 8.938 kB / 0.5328 GB, free: 1.641 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005682/0.393, allocations: 116.8 kB / 0.5329 GB, free: 1.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006268/0.3937, allocations: 310.5 kB / 0.5332 GB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.3937, allocations: 18.67 kB / 0.5332 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.38e-05/0.3938, allocations: 21.28 kB / 0.5333 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006451/0.3944, allocations: 389.2 kB / 0.5336 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.3944, allocations: 1.312 kB / 0.5336 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.882e-05/0.3945, allocations: 10.62 kB / 0.5336 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.3945, allocations: 6.391 kB / 0.5336 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008802/0.3953, allocations: 0.5407 MB / 0.5342 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001691/0.397, allocations: 1.279 MB / 0.5354 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.3974, allocations: 158.8 kB / 0.5356 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.3975, allocations: 87.02 kB / 0.5357 GB, free: 0 / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002092/0.3996, allocations: 0.9348 MB / 0.5366 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.3996, allocations: 31.94 kB / 0.5366 GB, free: 15.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.3996, allocations: 1.375 kB / 0.5366 GB, free: 15.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004767/0.4001, allocations: 218.2 kB / 0.5368 GB, free: 15.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.4002, allocations: 56.78 kB / 0.5369 GB, free: 15.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003949/0.4006, allocations: 353 kB / 0.5372 GB, free: 15.17 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.4006, allocations: 27.08 kB / 0.5372 GB, free: 15.14 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.4008, allocations: 241 kB / 0.5375 GB, free: 14.94 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.396e-05/0.4008, allocations: 51.53 kB / 0.5375 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.4009, allocations: 72.64 kB / 0.5376 GB, free: 14.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.4011, allocations: 349.6 kB / 0.5379 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.4012, allocations: 68.03 kB / 0.538 GB, free: 14.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/0.4015, allocations: 239.4 kB / 0.5382 GB, free: 14.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004751/0.4019, allocations: 348.2 kB / 0.5385 GB, free: 13.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.402, allocations: 1.438 kB / 0.5385 GB, free: 13.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005839/0.4025, allocations: 341.6 kB / 0.5389 GB, free: 13.78 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.4026, allocations: 11.98 kB / 0.5389 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.4026, allocations: 7.219 kB / 0.5389 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.4026, allocations: 7.906 kB / 0.5389 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.4028, allocations: 80.02 kB / 0.539 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.341e-05/0.4029, allocations: 18 kB / 0.539 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.4031, allocations: 33.83 kB / 0.539 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.794e-05/0.4031, allocations: 32.78 kB / 0.539 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.0001791/0.4033, allocations: 155.2 kB / 0.5392 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.719e-05/0.4034, allocations: 33.52 kB / 0.5392 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005752/0.4039, allocations: 280.4 kB / 0.5395 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.4039, allocations: 2.062 kB / 0.5395 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.404, allocations: 0 / 0.5395 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.404, allocations: 4 kB / 0.5395 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007586/0.4047, allocations: 0.5519 MB / 0.54 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.4047, allocations: 1.375 kB / 0.54 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.813e-05/0.4048, allocations: 15.3 kB / 0.54 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.4048, allocations: 6.469 kB / 0.5401 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.4048, allocations: 2.719 kB / 0.5401 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.4048, allocations: 2.078 kB / 0.5401 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4048, allocations: 1.094 kB / 0.5401 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.405, allocations: 179.7 kB / 0.5402 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.799e-05/0.4051, allocations: 33.41 kB / 0.5403 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.362e-05/0.4052, allocations: 11.66 kB / 0.5403 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.911e-05/0.4053, allocations: 6.906 kB / 0.5403 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.463e-05/0.4053, allocations: 9.328 kB / 0.5403 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.4053, allocations: 4.531 kB / 0.5403 GB, free: 12.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003349/0.4056, allocations: 280.2 kB / 0.5406 GB, free: 12.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4056, allocations: 0 / 0.5406 GB, free: 12.61 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006675/0.4063, allocations: 176.9 kB / 0.5407 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.0006012/0.4069, allocations: 300.5 kB / 0.541 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003322/0.4072, allocations: 157.3 kB / 0.5412 GB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4072, allocations: 0 / 0.5412 GB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.296e-05/0.4073, allocations: 32.34 kB / 0.5412 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.0004935/0.4078, allocations: 78.39 kB / 0.5413 GB, free: 12.3 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009944/0.4088, allocations: 0.5803 MB / 0.5418 GB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001879/0.409, allocations: 169.8 kB / 0.542 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.4091, allocations: 63.05 kB / 0.5421 GB, free: 11.79 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4091, allocations: 0 / 0.5421 GB, free: 11.79 MB / 398.1 MB Notification: Performance of Templates: time 0.0102/0.4193, allocations: 5.749 MB / 0.5477 GB, free: 9.766 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.224559122987557] Failed to read output from testmodel.py, exit status != 0: 0.42959445901215076 0.441275186 0.046865985000000006 Calling exit ...