Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001361/0.001361, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.00106/0.00106, allocations: 177 kB / 23.36 MB, free: 1.129 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 0.9859/0.9859, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.08946/0.08946, allocations: 17.38 MB / 277.6 MB, free: 11.54 MB / 266.7 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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction") translateModel(Chemical.Obsolete.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 3.938 kB / 300.6 MB, free: 1.879 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071e-05/1.216e-05, allocations: 2.312 kB / 300.6 MB, free: 1.875 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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 2.0.0/Obsolete.mo:14337:7-14337: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.03317/0.03318, allocations: 33.81 MB / 334.4 MB, free: 2.805 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00833/0.04151, allocations: 7.97 MB / 342.4 MB, free: 10.8 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004472/0.04196, allocations: 15.88 kB / 342.4 MB, free: 10.79 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005401/0.0425, allocations: 174.5 kB / 342.6 MB, free: 10.61 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001785/0.04428, allocations: 0.7288 MB / 343.3 MB, free: 9.879 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002432/0.04671, allocations: 1.083 MB / 344.4 MB, free: 8.789 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008869/0.0476, allocations: 0.9662 MB / 345.3 MB, free: 7.816 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004509/0.04805, allocations: 456.5 kB / 345.8 MB, free: 7.367 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004869/0.04854, allocations: 0.6317 MB / 346.4 MB, free: 6.734 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004174/0.04896, allocations: 419 kB / 346.8 MB, free: 6.324 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.863e-05/0.04904, allocations: 80 kB / 346.9 MB, free: 6.246 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/0.0502, allocations: 0.8266 MB / 347.7 MB, free: 5.418 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.05034, allocations: 203.3 kB / 347.9 MB, free: 5.219 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001961/0.05053, allocations: 303.4 kB / 348.2 MB, free: 4.922 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001552/0.05209, allocations: 1.63 MB / 349.9 MB, free: 3.285 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.05209, allocations: 4 kB / 349.9 MB, free: 3.281 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.05209, allocations: 0 / 349.9 MB, free: 3.281 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.413e-06/0.0521, allocations: 0 / 349.9 MB, free: 3.281 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.001278/0.05338, allocations: 1.091 MB / 351 MB, free: 2.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.05341, allocations: 12.03 kB / 351 MB, free: 2.148 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004246/0.05383, allocations: 235.9 kB / 351.2 MB, free: 1.918 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004074/0.05424, allocations: 357.1 kB / 351.6 MB, free: 1.547 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.466e-05/0.05431, allocations: 106 kB / 351.7 MB, free: 1.434 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.077e-05/0.05438, allocations: 64.38 kB / 351.7 MB, free: 1.371 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005274/0.05491, allocations: 0.594 MB / 352.3 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.05493, allocations: 192 / 352.3 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.004e-05/0.05497, allocations: 36.06 kB / 352.3 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.05498, allocations: 19.94 kB / 352.4 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000478/0.05545, allocations: 445 kB / 352.8 MB, free: 272 kB / 314.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.002064/0.05752, allocations: 1.555 MB / 354.4 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007366/0.05826, allocations: 0.7693 MB / 355.1 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.0584, allocations: 138.8 kB / 355.3 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001639/0.06004, allocations: 1.382 MB / 356.6 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.06006, allocations: 34.56 kB / 356.7 MB, free: 12.3 MB / 330.7 MB Notification: Performance of pre-optimization done (n=41): time 1.593e-06/0.06006, allocations: 3.938 kB / 356.7 MB, free: 12.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.001061/0.06112, allocations: 0.8273 MB / 357.5 MB, free: 11.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.06115, allocations: 67.34 kB / 357.6 MB, free: 11.35 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.06137, allocations: 375 kB / 357.9 MB, free: 10.97 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.06139, allocations: 29.7 kB / 358 MB, free: 10.94 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.06153, allocations: 348.6 kB / 358.3 MB, free: 10.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.346e-05/0.06162, allocations: 174.5 kB / 358.5 MB, free: 10.42 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.06172, allocations: 130.6 kB / 358.6 MB, free: 10.29 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.858e-05/0.06182, allocations: 362.6 kB / 359 MB, free: 9.922 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.803e-05/0.0619, allocations: 68.78 kB / 359 MB, free: 9.855 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.06208, allocations: 309 kB / 359.3 MB, free: 9.453 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/0.0624, allocations: 452.2 kB / 359.8 MB, free: 8.906 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.0624, allocations: 0 / 359.8 MB, free: 8.906 MB / 330.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.000352/0.06275, allocations: 405.2 kB / 360.2 MB, free: 8.5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.06277, allocations: 8 kB / 360.2 MB, free: 8.492 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.06278, allocations: 8 kB / 360.2 MB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.06279, allocations: 12 kB / 360.2 MB, free: 8.473 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.06314, allocations: 204.1 kB / 360.4 MB, free: 8.273 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.06315, allocations: 19.92 kB / 360.4 MB, free: 8.254 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.06328, allocations: 16 kB / 360.4 MB, free: 8.238 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-05/0.06331, allocations: 32 kB / 360.5 MB, free: 8.207 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.0001142/0.06342, allocations: 152.4 kB / 360.6 MB, free: 8.047 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.572e-05/0.06347, allocations: 47.89 kB / 360.7 MB, free: 8 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006293/0.0641, allocations: 323.7 kB / 361 MB, free: 7.676 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.06411, allocations: 11.98 kB / 361 MB, free: 7.664 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.06411, allocations: 0 / 361 MB, free: 7.664 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.06411, allocations: 7.984 kB / 361 MB, free: 7.656 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003639/0.06448, allocations: 432.6 kB / 361.4 MB, free: 7.191 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.06448, allocations: 4 kB / 361.4 MB, free: 7.188 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/0.06474, allocations: 135.8 kB / 361.6 MB, free: 7.055 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.06475, allocations: 7.938 kB / 361.6 MB, free: 7.047 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.06477, allocations: 24.11 kB / 361.6 MB, free: 7.023 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.06477, allocations: 4 kB / 361.6 MB, free: 7.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.06477, allocations: 0 / 361.6 MB, free: 7.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003792/0.06515, allocations: 493.8 kB / 362.1 MB, free: 6.508 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.405e-05/0.06524, allocations: 63.61 kB / 362.1 MB, free: 6.445 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.06527, allocations: 15.98 kB / 362.1 MB, free: 6.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.902e-05/0.06536, allocations: 8 kB / 362.2 MB, free: 6.422 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.186e-05/0.06541, allocations: 40.44 kB / 362.2 MB, free: 6.383 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.06543, allocations: 16 kB / 362.2 MB, free: 6.367 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.875e-05/0.06553, allocations: 148.6 kB / 362.4 MB, free: 6.223 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06553, allocations: 0 / 362.4 MB, free: 6.223 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000514/0.06604, allocations: 335.1 kB / 362.7 MB, free: 5.895 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.0004828/0.06652, allocations: 459 kB / 363.1 MB, free: 5.438 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002647/0.06679, allocations: 298.6 kB / 363.4 MB, free: 5.145 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.356e-05/0.0668, allocations: 12.5 kB / 363.4 MB, free: 5.133 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.06691, allocations: 144.5 kB / 363.6 MB, free: 4.992 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.06726, allocations: 122 kB / 363.7 MB, free: 4.871 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.001448/0.06871, allocations: 1.115 MB / 364.8 MB, free: 3.707 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.53e-05/0.06878, allocations: 129.9 kB / 364.9 MB, free: 3.562 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002248/0.06901, allocations: 116.3 kB / 365 MB, free: 3.445 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/0.06925, allocations: 205.2 kB / 365.2 MB, free: 3.246 MB / 330.7 MB Notification: Performance of SimCode: time 8.41e-07/0.06925, allocations: 0 / 365.2 MB, free: 3.246 MB / 330.7 MB Notification: Performance of Templates: time 0.01312/0.08237, allocations: 11.69 MB / 376.9 MB, free: 7.648 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction.sim & ./Chemical_Chemical.Obsolete.Examples.SimpleReaction -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0761040686629713]