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.0007777/0.0007777, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009166/0.0009166, allocations: 181 kB / 23.36 MB, free: 1.133 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.059/1.059, allocations: 177.2 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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.1065/0.1065, allocations: 17.47 MB / 277.7 MB, free: 11.42 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.713e-06/1.713e-06, allocations: 0 / 300.8 MB, free: 1.746 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.708e-05/2.879e-05, allocations: 6.328 kB / 300.8 MB, free: 1.742 MB / 266.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.04038/0.04041, allocations: 33.87 MB / 334.6 MB, free: 2.477 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01043/0.05084, allocations: 7.963 MB / 342.6 MB, free: 10.48 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006759/0.05151, allocations: 11.88 kB / 342.6 MB, free: 10.46 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006004/0.05211, allocations: 182.5 kB / 342.8 MB, free: 10.29 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001724/0.05384, allocations: 0.7093 MB / 343.5 MB, free: 9.57 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002404/0.05624, allocations: 1.072 MB / 344.6 MB, free: 8.492 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001065/0.05731, allocations: 0.9662 MB / 345.5 MB, free: 7.52 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006091/0.05791, allocations: 456.5 kB / 346 MB, free: 7.07 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007444/0.05866, allocations: 0.6317 MB / 346.6 MB, free: 6.438 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000703/0.05936, allocations: 411 kB / 347 MB, free: 6.035 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.05949, allocations: 80 kB / 347.1 MB, free: 5.957 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001923/0.06141, allocations: 0.8539 MB / 347.9 MB, free: 5.102 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.06159, allocations: 203.3 kB / 348.1 MB, free: 4.902 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002797/0.06187, allocations: 307.4 kB / 348.4 MB, free: 4.602 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002121/0.06399, allocations: 1.622 MB / 350.1 MB, free: 2.973 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.06399, allocations: 0 / 350.1 MB, free: 2.973 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.06399, allocations: 0 / 350.1 MB, free: 2.973 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.064, allocations: 4 kB / 350.1 MB, free: 2.969 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.001397/0.0654, allocations: 1.087 MB / 351.2 MB, free: 1.852 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.06544, allocations: 16.02 kB / 351.2 MB, free: 1.836 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006029/0.06604, allocations: 231.9 kB / 351.4 MB, free: 1.609 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005884/0.06663, allocations: 357.1 kB / 351.8 MB, free: 1.238 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.76e-05/0.06672, allocations: 110 kB / 351.9 MB, free: 1.121 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.06683, allocations: 64.38 kB / 351.9 MB, free: 1.059 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008276/0.06766, allocations: 0.5939 MB / 352.5 MB, free: 452 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.06768, allocations: 4.125 kB / 352.5 MB, free: 448 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-05/0.06774, allocations: 36.12 kB / 352.6 MB, free: 412 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.06776, allocations: 16 kB / 352.6 MB, free: 396 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000736/0.06849, allocations: 445 kB / 353 MB, free: 15.95 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.002574/0.07107, allocations: 1.555 MB / 354.6 MB, free: 14.35 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.07215, allocations: 0.7693 MB / 355.3 MB, free: 13.56 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/0.07236, allocations: 142.7 kB / 355.5 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002378/0.07473, allocations: 1.389 MB / 356.9 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.07477, allocations: 38.56 kB / 356.9 MB, free: 11.97 MB / 330.7 MB Notification: Performance of pre-optimization done (n=41): time 2.294e-06/0.07477, allocations: 0 / 356.9 MB, free: 11.97 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.001721/0.07649, allocations: 0.8265 MB / 357.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.07653, allocations: 55.41 kB / 357.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003473/0.07687, allocations: 375 kB / 358.1 MB, free: 10.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.0769, allocations: 37.7 kB / 358.2 MB, free: 10.62 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.07709, allocations: 344.6 kB / 358.5 MB, free: 10.28 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.07722, allocations: 178.5 kB / 358.7 MB, free: 10.1 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.07738, allocations: 126.6 kB / 358.8 MB, free: 9.969 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.07752, allocations: 366.6 kB / 359.2 MB, free: 9.602 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.07766, allocations: 68.8 kB / 359.2 MB, free: 9.535 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/0.07794, allocations: 309 kB / 359.5 MB, free: 9.133 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005109/0.07845, allocations: 452.2 kB / 360 MB, free: 8.586 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/0.07846, allocations: 4 kB / 360 MB, free: 8.582 MB / 330.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0006073/0.07906, allocations: 397.5 kB / 360.4 MB, free: 8.184 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.07909, allocations: 8 kB / 360.4 MB, free: 8.176 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.0791, allocations: 12.12 kB / 360.4 MB, free: 8.164 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.07913, allocations: 12 kB / 360.4 MB, free: 8.152 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006779/0.0798, allocations: 219.7 kB / 360.6 MB, free: 7.938 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/0.07982, allocations: 19.92 kB / 360.6 MB, free: 7.918 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/0.08008, allocations: 20 kB / 360.7 MB, free: 7.898 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.132e-05/0.08013, allocations: 32 kB / 360.7 MB, free: 7.867 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.0001696/0.0803, allocations: 164.4 kB / 360.9 MB, free: 7.695 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.38e-05/0.08038, allocations: 39.95 kB / 360.9 MB, free: 7.656 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005644/0.08095, allocations: 323.8 kB / 361.2 MB, free: 7.332 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.08096, allocations: 4 kB / 361.2 MB, free: 7.328 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.08096, allocations: 0 / 361.2 MB, free: 7.328 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.08096, allocations: 0 / 361.2 MB, free: 7.328 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005985/0.08156, allocations: 436.5 kB / 361.6 MB, free: 6.859 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.08157, allocations: 4.125 kB / 361.6 MB, free: 6.855 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005156/0.08208, allocations: 155.8 kB / 361.8 MB, free: 6.703 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.08209, allocations: 4 kB / 361.8 MB, free: 6.699 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/0.08212, allocations: 16 kB / 361.8 MB, free: 6.684 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.08213, allocations: 7.984 kB / 361.8 MB, free: 6.676 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.08213, allocations: 3.938 kB / 361.8 MB, free: 6.672 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005953/0.08273, allocations: 497.9 kB / 362.3 MB, free: 6.156 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.08286, allocations: 67.61 kB / 362.4 MB, free: 6.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.099e-05/0.08291, allocations: 4 kB / 362.4 MB, free: 6.086 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.08308, allocations: 12 kB / 362.4 MB, free: 6.074 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.033e-05/0.08316, allocations: 44.36 kB / 362.4 MB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-05/0.08319, allocations: 16.05 kB / 362.5 MB, free: 6.016 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001547/0.08334, allocations: 148.6 kB / 362.6 MB, free: 5.871 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.08334, allocations: 0 / 362.6 MB, free: 5.871 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009952/0.08434, allocations: 335.1 kB / 362.9 MB, free: 5.543 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.0008033/0.08514, allocations: 459 kB / 363.4 MB, free: 5.086 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004363/0.08558, allocations: 293.7 kB / 363.7 MB, free: 4.797 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.528e-05/0.08559, allocations: 8.5 kB / 363.7 MB, free: 4.789 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.08577, allocations: 136.6 kB / 363.8 MB, free: 4.656 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006047/0.08638, allocations: 141 kB / 363.9 MB, free: 4.523 MB / 330.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.08872, allocations: 1.118 MB / 365.1 MB, free: 3.355 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.08884, allocations: 141.9 kB / 365.2 MB, free: 3.199 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003651/0.0892, allocations: 112.4 kB / 365.3 MB, free: 3.086 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003763/0.08958, allocations: 197.2 kB / 365.5 MB, free: 2.895 MB / 330.7 MB Notification: Performance of SimCode: time 1.262e-06/0.08958, allocations: 0 / 365.5 MB, free: 2.895 MB / 330.7 MB Notification: Performance of Templates: time 0.01656/0.1061, allocations: 11.69 MB / 377.2 MB, free: 7.293 MB / 346.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1510701295919716]