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.001792/0.001792, allocations: 85.48 kB / 19.44 MB, free: 344 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.001974/0.001974, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.587/1.587, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 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.1504/0.1504, allocations: 17.37 MB / 276.9 MB, free: 11.69 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.653e-06/1.653e-06, allocations: 0 / 352.7 MB, free: 10.35 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.721e-05/3.886e-05, allocations: 6.25 kB / 352.7 MB, free: 10.34 MB / 282.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.04654/0.04658, allocations: 27.92 MB / 380.6 MB, free: 14.55 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01344/0.06002, allocations: 8.014 MB / 388.6 MB, free: 6.508 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007363/0.06076, allocations: 19.88 kB / 388.6 MB, free: 6.488 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006595/0.06141, allocations: 170.5 kB / 388.8 MB, free: 6.32 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002335/0.06375, allocations: 0.725 MB / 389.5 MB, free: 5.59 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003491/0.06724, allocations: 1.075 MB / 390.6 MB, free: 4.508 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001508/0.06875, allocations: 0.9662 MB / 391.6 MB, free: 3.535 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006733/0.06942, allocations: 442.7 kB / 392 MB, free: 3.102 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/0.07068, allocations: 0.6356 MB / 392.6 MB, free: 2.465 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007159/0.07139, allocations: 423 kB / 393.1 MB, free: 2.051 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.07153, allocations: 76 kB / 393.1 MB, free: 1.977 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003249/0.07477, allocations: 0.8226 MB / 394 MB, free: 1.152 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002953/0.07507, allocations: 203.4 kB / 394.2 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000539/0.07561, allocations: 303.3 kB / 394.5 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005141/0.08075, allocations: 1.923 MB / 396.4 MB, free: 14.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.08076, allocations: 0 / 396.4 MB, free: 14.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.08076, allocations: 0 / 396.4 MB, free: 14.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.08077, allocations: 0 / 396.4 MB, free: 14.73 MB / 330.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.002415/0.08319, allocations: 1.219 MB / 397.6 MB, free: 13.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.08323, allocations: 8.031 kB / 397.6 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008493/0.08408, allocations: 255.5 kB / 397.9 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008231/0.0849, allocations: 435.9 kB / 398.3 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/0.08505, allocations: 110 kB / 398.4 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.08519, allocations: 72.33 kB / 398.5 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.08664, allocations: 0.7592 MB / 399.2 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.08665, allocations: 192 / 399.2 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.651e-05/0.08673, allocations: 28.12 kB / 399.2 MB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.389e-05/0.08676, allocations: 23.92 kB / 399.3 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/0.08853, allocations: 0.7689 MB / 400 MB, free: 10.96 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.004195/0.09272, allocations: 2.156 MB / 402.2 MB, free: 8.742 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/0.0945, allocations: 0.9308 MB / 403.1 MB, free: 7.797 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000477/0.09498, allocations: 261.5 kB / 403.4 MB, free: 7.539 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003579/0.09856, allocations: 1.637 MB / 405 MB, free: 5.879 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.276e-05/0.0986, allocations: 41.39 kB / 405.1 MB, free: 5.828 MB / 330.7 MB Notification: Performance of pre-optimization done (n=41): time 2.164e-06/0.0986, allocations: 0 / 405.1 MB, free: 5.828 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.002665/0.1013, allocations: 1.17 MB / 406.2 MB, free: 4.617 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.1013, allocations: 55.41 kB / 406.3 MB, free: 4.551 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007833/0.1021, allocations: 482.3 kB / 406.7 MB, free: 4.062 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.631e-05/0.1022, allocations: 33.7 kB / 406.8 MB, free: 4.023 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003747/0.1025, allocations: 426.8 kB / 407.2 MB, free: 3.602 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/0.1027, allocations: 166.6 kB / 407.4 MB, free: 3.438 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.1029, allocations: 132.2 kB / 407.5 MB, free: 3.297 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003252/0.1032, allocations: 0.5313 MB / 408 MB, free: 2.754 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000294/0.1035, allocations: 141.9 kB / 408.2 MB, free: 2.617 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006161/0.1042, allocations: 479.4 kB / 408.6 MB, free: 2.008 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009686/0.1051, allocations: 0.6607 MB / 409.3 MB, free: 1.203 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1051, allocations: 0 / 409.3 MB, free: 1.203 MB / 330.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001131/0.1063, allocations: 0.6378 MB / 409.9 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.1063, allocations: 12 kB / 409.9 MB, free: 0.543 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.1063, allocations: 8 kB / 409.9 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.243e-05/0.1063, allocations: 8 kB / 410 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007286/0.1071, allocations: 204 kB / 410.2 MB, free: 336 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-05/0.1071, allocations: 19.94 kB / 410.2 MB, free: 316 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002896/0.1074, allocations: 31.92 kB / 410.2 MB, free: 284 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.008e-05/0.1074, allocations: 32 kB / 410.2 MB, free: 252 kB / 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.1409/0.2484, allocations: 245.6 kB / 410.5 MB, free: 62.64 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/0.2486, allocations: 58.5 kB / 410.5 MB, free: 62.64 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.2496, allocations: 490.6 kB / 411 MB, free: 62.59 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.2496, allocations: 5.469 kB / 411 MB, free: 62.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2496, allocations: 0.7031 kB / 411 MB, free: 62.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.2496, allocations: 7.625 kB / 411 MB, free: 62.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009071/0.2505, allocations: 0.4995 MB / 411.5 MB, free: 62.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.2505, allocations: 3.719 kB / 411.5 MB, free: 62.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005833/0.2511, allocations: 143.3 kB / 411.7 MB, free: 62.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.2511, allocations: 2 kB / 411.7 MB, free: 62.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.71e-05/0.2511, allocations: 15.72 kB / 411.7 MB, free: 62.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.2511, allocations: 4.359 kB / 411.7 MB, free: 62.38 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.2511, allocations: 3.188 kB / 411.7 MB, free: 62.38 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009888/0.2521, allocations: 0.7741 MB / 412.5 MB, free: 62.04 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001756/0.2523, allocations: 83.17 kB / 412.5 MB, free: 62.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.089e-05/0.2524, allocations: 12.58 kB / 412.6 MB, free: 62.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.2526, allocations: 9.344 kB / 412.6 MB, free: 62.01 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.2527, allocations: 43.44 kB / 412.6 MB, free: 62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/0.2527, allocations: 19.3 kB / 412.6 MB, free: 62 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002986/0.253, allocations: 307.1 kB / 412.9 MB, free: 61.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.253, allocations: 0 / 412.9 MB, free: 61.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001112/0.2541, allocations: 330.1 kB / 413.3 MB, free: 61.8 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.0008371/0.255, allocations: 463.5 kB / 413.7 MB, free: 61.7 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000764/0.2557, allocations: 437.2 kB / 414.1 MB, free: 61.58 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.2557, allocations: 1.375 kB / 414.1 MB, free: 61.58 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002897/0.256, allocations: 203.9 kB / 414.3 MB, free: 61.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006917/0.2567, allocations: 132.6 kB / 414.5 MB, free: 61.49 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.2585, allocations: 1.152 MB / 415.6 MB, free: 60.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.2588, allocations: 291 kB / 415.9 MB, free: 60.74 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000391/0.2592, allocations: 113.7 kB / 416 MB, free: 60.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.2593, allocations: 73.77 kB / 416.1 MB, free: 60.72 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.2593, allocations: 0 / 416.1 MB, free: 60.72 MB / 330.7 MB Notification: Performance of Templates: time 0.01715/0.2765, allocations: 10.2 MB / 426.3 MB, free: 56.82 MB / 330.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: 5.223008763976395]