Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.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.001854/0.001854, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 13.93 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.001995/0.001995, allocations: 177.2 kB / 22.77 MB, free: 1.656 MB / 18.57 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.63/1.63, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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.1548/0.1548, allocations: 17.46 MB / 277 MB, free: 11.6 MB / 266.7 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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction") translateModel(Chemical.Obsolete.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 352.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.379e-05/3.564e-05, allocations: 2.312 kB / 352.8 MB, free: 10.2 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.SimpleReaction): time 0.04189/0.04193, allocations: 25.69 MB / 378.5 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01306/0.05499, allocations: 8.014 MB / 386.5 MB, free: 8.602 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006848/0.05568, allocations: 15.88 kB / 386.5 MB, free: 8.586 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006593/0.05634, allocations: 174.6 kB / 386.7 MB, free: 8.414 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00232/0.05866, allocations: 0.7288 MB / 387.4 MB, free: 7.68 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003316/0.06197, allocations: 1.072 MB / 388.5 MB, free: 6.602 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001827/0.0638, allocations: 0.9662 MB / 389.5 MB, free: 5.629 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007493/0.06455, allocations: 438.7 kB / 389.9 MB, free: 5.199 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.06564, allocations: 0.6356 MB / 390.5 MB, free: 4.562 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008205/0.06646, allocations: 419 kB / 390.9 MB, free: 4.152 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001567/0.06662, allocations: 76 kB / 391 MB, free: 4.078 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002886/0.0695, allocations: 0.8342 MB / 391.8 MB, free: 3.242 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000273/0.06978, allocations: 203.4 kB / 392 MB, free: 3.043 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000494/0.07027, allocations: 299.3 kB / 392.3 MB, free: 2.75 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004743/0.07501, allocations: 1.926 MB / 394.3 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.07502, allocations: 0 / 394.3 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.07502, allocations: 0 / 394.3 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.07504, allocations: 0 / 394.3 MB, free: 0.8164 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002574/0.07761, allocations: 1.255 MB / 395.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.07766, allocations: 12.03 kB / 395.5 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008857/0.07855, allocations: 251.5 kB / 395.8 MB, free: 15.26 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000913/0.07946, allocations: 439.8 kB / 396.2 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000142/0.0796, allocations: 110 kB / 396.3 MB, free: 14.69 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.07974, allocations: 72.38 kB / 396.4 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.08127, allocations: 0.7904 MB / 397.2 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.08129, allocations: 4.188 kB / 397.2 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.208e-05/0.08137, allocations: 32.12 kB / 397.2 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.08139, allocations: 16 kB / 397.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/0.08299, allocations: 0.8483 MB / 398.1 MB, free: 12.91 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004825/0.08781, allocations: 2.375 MB / 400.5 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00198/0.08979, allocations: 0.7977 MB / 401.2 MB, free: 9.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000503/0.0903, allocations: 269.5 kB / 401.5 MB, free: 9.395 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003924/0.09422, allocations: 1.662 MB / 403.2 MB, free: 7.707 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.09426, allocations: 45.33 kB / 403.2 MB, free: 7.652 MB / 330.7 MB Notification: Performance of pre-optimization done (n=41): time 2.054e-06/0.09427, allocations: 0 / 403.2 MB, free: 7.652 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.003654/0.09792, allocations: 1.167 MB / 404.4 MB, free: 6.449 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/0.09798, allocations: 59.34 kB / 404.4 MB, free: 6.379 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006728/0.09865, allocations: 0.518 MB / 405 MB, free: 5.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.129e-05/0.09869, allocations: 37.7 kB / 405 MB, free: 5.797 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003976/0.09909, allocations: 442.8 kB / 405.4 MB, free: 5.359 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001895/0.09928, allocations: 186.5 kB / 405.6 MB, free: 5.176 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002356/0.09951, allocations: 144.3 kB / 405.8 MB, free: 5.027 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003757/0.09989, allocations: 0.5547 MB / 406.3 MB, free: 4.461 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/0.1002, allocations: 141.9 kB / 406.4 MB, free: 4.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006682/0.1009, allocations: 495.4 kB / 406.9 MB, free: 3.695 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.1019, allocations: 0.6763 MB / 407.6 MB, free: 2.871 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1019, allocations: 0 / 407.6 MB, free: 2.871 MB / 330.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001491/0.1034, allocations: 0.6418 MB / 408.2 MB, free: 2.223 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.1035, allocations: 12.19 kB / 408.3 MB, free: 2.211 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.1035, allocations: 8 kB / 408.3 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.918e-05/0.1035, allocations: 12 kB / 408.3 MB, free: 2.191 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007544/0.1043, allocations: 195.7 kB / 408.5 MB, free: 2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.508e-05/0.1043, allocations: 19.92 kB / 408.5 MB, free: 1.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000334/0.1046, allocations: 27.94 kB / 408.5 MB, free: 1.953 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-05/0.1047, allocations: 32 kB / 408.5 MB, free: 1.922 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (83): * Single equations (assignments): 83 * 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.000353/0.105, allocations: 248.4 kB / 408.8 MB, free: 1.668 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.1052, allocations: 67.61 kB / 408.9 MB, free: 1.602 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.1063, allocations: 490.8 kB / 409.3 MB, free: 1.117 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.1063, allocations: 4 kB / 409.3 MB, free: 1.113 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1063, allocations: 0 / 409.3 MB, free: 1.113 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.1063, allocations: 7.922 kB / 409.3 MB, free: 1.105 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000985/0.1073, allocations: 0.5715 MB / 409.9 MB, free: 488 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1073, allocations: 0 / 409.9 MB, free: 488 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006081/0.1079, allocations: 147.9 kB / 410.1 MB, free: 340 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.1079, allocations: 0 / 410.1 MB, free: 340 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.694e-05/0.1079, allocations: 16 kB / 410.1 MB, free: 324 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.1079, allocations: 4 kB / 410.1 MB, free: 320 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1079, allocations: 0 / 410.1 MB, free: 320 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1753/0.2832, allocations: 0.7812 MB / 410.9 MB, free: 62.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002457/0.2835, allocations: 87.66 kB / 411 MB, free: 62.16 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.89e-05/0.2835, allocations: 12.44 kB / 411 MB, free: 62.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.2838, allocations: 12.59 kB / 411 MB, free: 62.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.2839, allocations: 42.48 kB / 411 MB, free: 62.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.039e-05/0.2839, allocations: 18.66 kB / 411 MB, free: 62.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003575/0.2843, allocations: 319.8 kB / 411.3 MB, free: 62.03 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2843, allocations: 2.406 kB / 411.3 MB, free: 62.03 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001103/0.2854, allocations: 335.3 kB / 411.7 MB, free: 62.03 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (solution.temperature,A.logn,B.logn) * 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 (53): * Single equations (assignments): 53 * 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.0008738/0.2863, allocations: 463.6 kB / 412.1 MB, free: 61.94 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009181/0.2872, allocations: 448.1 kB / 412.6 MB, free: 61.92 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2872, allocations: 1.281 kB / 412.6 MB, free: 61.92 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003363/0.2875, allocations: 211.3 kB / 412.8 MB, free: 61.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007542/0.2883, allocations: 137.1 kB / 412.9 MB, free: 61.89 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.2902, allocations: 1.158 MB / 414.1 MB, free: 61.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.2906, allocations: 290 kB / 414.3 MB, free: 61.23 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003912/0.291, allocations: 116.9 kB / 414.5 MB, free: 61.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.2911, allocations: 73.38 kB / 414.5 MB, free: 61.21 MB / 330.7 MB Notification: Performance of SimCode: time 1.322e-06/0.2911, allocations: 0 / 414.5 MB, free: 61.21 MB / 330.7 MB Notification: Performance of Templates: time 0.01848/0.3096, allocations: 10.19 MB / 424.7 MB, free: 58.25 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.sim & ./Chemical_master_Chemical.Obsolete.Examples.SimpleReaction -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.448348502046429]