Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.SimpleReaction2.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.001301/0.001301, allocations: 81.92 kB / 19.87 MB, free: 4.621 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.003635/0.003635, allocations: 173.7 kB / 23.28 MB, free: 1.223 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.9857/0.9857, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.09338/0.09338, allocations: 17.38 MB / 277.6 MB, free: 11.5 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.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 353.9 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.647e-05, allocations: 10.31 kB / 353.9 MB, free: 10.75 MB / 330.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.SimpleReaction2): time 0.02822/0.02824, allocations: 28.81 MB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01243/0.04067, allocations: 11.43 MB / 394.1 MB, free: 2.566 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005793/0.04125, allocations: 15.88 kB / 394.1 MB, free: 2.551 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005929/0.04184, allocations: 246 kB / 394.4 MB, free: 2.309 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002159/0.044, allocations: 1.035 MB / 395.4 MB, free: 1.266 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003162/0.04717, allocations: 1.576 MB / 397 MB, free: 15.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001576/0.04874, allocations: 1.298 MB / 398.3 MB, free: 14.38 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006534/0.0494, allocations: 0.5889 MB / 398.9 MB, free: 13.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007809/0.05018, allocations: 0.8463 MB / 399.7 MB, free: 12.92 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007123/0.05089, allocations: 0.569 MB / 400.3 MB, free: 12.35 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002049/0.05109, allocations: 112 kB / 400.4 MB, free: 12.24 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002338/0.05343, allocations: 1.228 MB / 401.6 MB, free: 11.01 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002008/0.05363, allocations: 267.1 kB / 401.9 MB, free: 10.75 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003359/0.05397, allocations: 407.1 kB / 402.3 MB, free: 10.35 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003244/0.05721, allocations: 2.358 MB / 404.6 MB, free: 7.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.05722, allocations: 0 / 404.6 MB, free: 7.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.05722, allocations: 0 / 404.6 MB, free: 7.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.768e-05/0.05723, allocations: 0 / 404.6 MB, free: 7.98 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.001953/0.05919, allocations: 1.554 MB / 406.2 MB, free: 6.383 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.05922, allocations: 8.031 kB / 406.2 MB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000682/0.05991, allocations: 351.1 kB / 406.5 MB, free: 6.031 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006047/0.06051, allocations: 0.5213 MB / 407.1 MB, free: 5.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.29e-05/0.06059, allocations: 122 kB / 407.2 MB, free: 5.352 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.675e-05/0.06069, allocations: 100.3 kB / 407.3 MB, free: 5.254 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007524/0.06144, allocations: 0.7683 MB / 408.1 MB, free: 4.457 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.06146, allocations: 192 / 408.1 MB, free: 4.457 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.566e-05/0.06151, allocations: 40.12 kB / 408.1 MB, free: 4.418 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.06153, allocations: 23.98 kB / 408.1 MB, free: 4.395 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007323/0.06226, allocations: 0.72 MB / 408.8 MB, free: 3.676 MB / 378.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.002656/0.06492, allocations: 2.612 MB / 411.5 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/0.06637, allocations: 1.255 MB / 412.7 MB, free: 15.73 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/0.06658, allocations: 230.5 kB / 412.9 MB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002387/0.06897, allocations: 2.135 MB / 415.1 MB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.06899, allocations: 45.89 kB / 415.1 MB, free: 13.3 MB / 394.7 MB Notification: Performance of pre-optimization done (n=56): time 1.503e-06/0.069, allocations: 0 / 415.1 MB, free: 13.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=63): time 0.00141/0.07041, allocations: 1.117 MB / 416.2 MB, free: 12.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.07044, allocations: 60.06 kB / 416.3 MB, free: 12.07 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.07074, allocations: 0.5292 MB / 416.8 MB, free: 11.53 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.07077, allocations: 37.7 kB / 416.9 MB, free: 11.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/0.07098, allocations: 0.5219 MB / 417.4 MB, free: 10.95 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.07109, allocations: 230 kB / 417.6 MB, free: 10.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.07123, allocations: 184.1 kB / 417.8 MB, free: 10.54 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.07138, allocations: 0.5585 MB / 418.3 MB, free: 9.969 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.07149, allocations: 101.9 kB / 418.4 MB, free: 9.871 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003077/0.0718, allocations: 0.5674 MB / 419 MB, free: 9.098 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008741/0.07267, allocations: 0.7465 MB / 419.8 MB, free: 8.145 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.07268, allocations: 4 kB / 419.8 MB, free: 8.141 MB / 394.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0007078/0.07339, allocations: 0.6765 MB / 420.4 MB, free: 7.457 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.07341, allocations: 15.98 kB / 420.4 MB, free: 7.441 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.07342, allocations: 8 kB / 420.5 MB, free: 7.434 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.711e-05/0.07345, allocations: 16 kB / 420.5 MB, free: 7.418 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005104/0.07396, allocations: 268.1 kB / 420.7 MB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.762e-05/0.07398, allocations: 23.92 kB / 420.8 MB, free: 7.133 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.0742, allocations: 28 kB / 420.8 MB, free: 7.105 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.744e-05/0.07425, allocations: 40 kB / 420.8 MB, free: 7.066 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (115): * Single equations (assignments): 115 * 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.0001865/0.07443, allocations: 220.1 kB / 421 MB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-05/0.07452, allocations: 87.58 kB / 421.1 MB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006548/0.07518, allocations: 0.527 MB / 421.6 MB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.07519, allocations: 11.98 kB / 421.7 MB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.07519, allocations: 0 / 421.7 MB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.07519, allocations: 0 / 421.7 MB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007078/0.0759, allocations: 0.579 MB / 422.2 MB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.07591, allocations: 0 / 422.2 MB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003689/0.07628, allocations: 179.9 kB / 422.4 MB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.07628, allocations: 4 kB / 422.4 MB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.07631, allocations: 20 kB / 422.4 MB, free: 5.363 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.349e-06/0.07631, allocations: 3.984 kB / 422.4 MB, free: 5.359 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.07631, allocations: 4 kB / 422.4 MB, free: 5.355 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006238/0.07694, allocations: 0.7221 MB / 423.2 MB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.07709, allocations: 111.5 kB / 423.3 MB, free: 4.488 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.25e-05/0.07713, allocations: 12 kB / 423.3 MB, free: 4.477 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.07725, allocations: 12 kB / 423.3 MB, free: 4.465 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.755e-05/0.07732, allocations: 56.56 kB / 423.4 MB, free: 4.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.07734, allocations: 16 kB / 423.4 MB, free: 4.395 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001652/0.0775, allocations: 314.6 kB / 423.7 MB, free: 4.09 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0775, allocations: 0 / 423.7 MB, free: 4.09 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009238/0.07843, allocations: 490.6 kB / 424.2 MB, free: 3.609 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (solution.temperature,A.logn,B.logn,C.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 (71): * Single equations (assignments): 71 * 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.0007606/0.07919, allocations: 0.634 MB / 424.8 MB, free: 2.965 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004333/0.07962, allocations: 436.2 kB / 425.2 MB, free: 2.539 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.07962, allocations: 1.875 kB / 425.2 MB, free: 2.539 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.0798, allocations: 200.6 kB / 425.4 MB, free: 2.336 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004785/0.08028, allocations: 172.9 kB / 425.6 MB, free: 2.172 MB / 394.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.08236, allocations: 1.404 MB / 427 MB, free: 0.7109 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.598e-05/0.08246, allocations: 163.3 kB / 427.1 MB, free: 0.5312 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003423/0.0828, allocations: 157.2 kB / 427.3 MB, free: 384 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003362/0.08313, allocations: 282 kB / 427.6 MB, free: 100 kB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.08313, allocations: 0 / 427.6 MB, free: 100 kB / 394.7 MB Notification: Performance of Templates: time 0.137/0.2202, allocations: 16.46 MB / 444 MB, free: 106.8 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction2.sim & ./Chemical_Chemical.Obsolete.Examples.SimpleReaction2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3666990022175014]