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.001406/0.001406, allocations: 92.7 kB / 19.44 MB, free: 320 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.001593/0.001593, allocations: 165.3 kB / 22.76 MB, free: 1.648 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.532/1.532, allocations: 177.1 MB / 203.1 MB, free: 5.594 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.1388/0.1388, allocations: 17.38 MB / 276.9 MB, free: 11.66 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 2.014e-06/2.014e-06, allocations: 0 / 352.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.411e-05/4.613e-05, allocations: 2.312 kB / 352.7 MB, free: 10.33 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.SimpleReaction2): time 0.04135/0.0414, allocations: 26 MB / 378.7 MB, free: 484 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0174/0.0588, allocations: 10.25 MB / 388.9 MB, free: 6.176 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009466/0.05975, allocations: 15.88 kB / 389 MB, free: 6.16 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.06097, allocations: 246 kB / 389.2 MB, free: 5.918 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004669/0.06564, allocations: 1.035 MB / 390.2 MB, free: 4.875 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005519/0.07116, allocations: 1.584 MB / 391.8 MB, free: 3.281 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002573/0.07373, allocations: 1.29 MB / 393.1 MB, free: 1.984 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001234/0.07497, allocations: 0.585 MB / 393.7 MB, free: 1.379 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001677/0.07664, allocations: 0.8462 MB / 394.5 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.07795, allocations: 0.5418 MB / 395.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003435/0.0783, allocations: 108 kB / 395.2 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005092/0.08339, allocations: 1.236 MB / 396.4 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006437/0.08403, allocations: 263.2 kB / 396.7 MB, free: 14.39 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001339/0.08537, allocations: 403.1 kB / 397.1 MB, free: 13.99 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009253/0.09462, allocations: 2.744 MB / 399.8 MB, free: 11.24 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.09463, allocations: 0 / 399.8 MB, free: 11.24 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.09463, allocations: 0 / 399.8 MB, free: 11.24 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.435e-05/0.09469, allocations: 0 / 399.8 MB, free: 11.24 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.003984/0.09867, allocations: 1.446 MB / 401.3 MB, free: 9.758 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.09872, allocations: 8.031 kB / 401.3 MB, free: 9.75 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/0.1001, allocations: 351 kB / 401.6 MB, free: 9.406 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.1013, allocations: 0.5187 MB / 402.1 MB, free: 8.859 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/0.1015, allocations: 122 kB / 402.2 MB, free: 8.727 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002191/0.1017, allocations: 100.3 kB / 402.3 MB, free: 8.629 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002435/0.1041, allocations: 1.05 MB / 403.4 MB, free: 7.562 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.1041, allocations: 192 / 403.4 MB, free: 7.562 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.1043, allocations: 40.12 kB / 403.4 MB, free: 7.523 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.693e-05/0.1043, allocations: 20 kB / 403.4 MB, free: 7.504 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002378/0.1067, allocations: 1.261 MB / 404.7 MB, free: 6.242 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.005975/0.1126, allocations: 2.737 MB / 407.4 MB, free: 3.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002638/0.1153, allocations: 1.228 MB / 408.7 MB, free: 2.195 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007459/0.116, allocations: 395.7 kB / 409.1 MB, free: 1.801 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1575/0.2735, allocations: 2.15 MB / 411.2 MB, free: 62.45 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.2736, allocations: 40.09 kB / 411.3 MB, free: 62.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=56): time 3.016e-06/0.2736, allocations: 0 / 411.3 MB, free: 62.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=63): time 0.003484/0.277, allocations: 1.611 MB / 412.9 MB, free: 62.06 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.2771, allocations: 59.22 kB / 412.9 MB, free: 62 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000599/0.2777, allocations: 0.5001 MB / 413.4 MB, free: 61.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/0.2777, allocations: 39.86 kB / 413.5 MB, free: 61.73 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002712/0.278, allocations: 477 kB / 413.9 MB, free: 61.4 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.2781, allocations: 232.8 kB / 414.2 MB, free: 61.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002256/0.2784, allocations: 171 kB / 414.3 MB, free: 61.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.2785, allocations: 373 kB / 414.7 MB, free: 60.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003725/0.2788, allocations: 210.5 kB / 414.9 MB, free: 60.76 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005388/0.2794, allocations: 0.5328 MB / 415.4 MB, free: 60.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.2804, allocations: 0.8143 MB / 416.2 MB, free: 59.65 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.2804, allocations: 4.156 kB / 416.2 MB, free: 59.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001403/0.2818, allocations: 0.8874 MB / 417.1 MB, free: 59.29 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.2818, allocations: 12.84 kB / 417.1 MB, free: 59.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.2818, allocations: 11.81 kB / 417.2 MB, free: 59.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.54e-05/0.2819, allocations: 19.45 kB / 417.2 MB, free: 59.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009665/0.2828, allocations: 265.2 kB / 417.4 MB, free: 59.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.934e-05/0.2829, allocations: 28.92 kB / 417.5 MB, free: 59.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004352/0.2833, allocations: 30.41 kB / 417.5 MB, free: 59.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.183e-05/0.2834, allocations: 51.12 kB / 417.5 MB, free: 59.23 MB / 330.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.000288/0.2837, allocations: 239.9 kB / 417.8 MB, free: 59.04 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.2838, allocations: 93.27 kB / 417.9 MB, free: 58.99 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.2851, allocations: 0.6799 MB / 418.5 MB, free: 58.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.2851, allocations: 6.156 kB / 418.5 MB, free: 58.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2851, allocations: 3.844 kB / 418.6 MB, free: 58.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.2851, allocations: 3.75 kB / 418.6 MB, free: 58.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008565/0.286, allocations: 0.5785 MB / 419.1 MB, free: 58.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.286, allocations: 2.781 kB / 419.1 MB, free: 58.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007877/0.2868, allocations: 173.8 kB / 419.3 MB, free: 58.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.2868, allocations: 4.312 kB / 419.3 MB, free: 58.37 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.093e-05/0.2868, allocations: 28.42 kB / 419.3 MB, free: 58.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.2868, allocations: 9.734 kB / 419.3 MB, free: 58.36 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.2868, allocations: 3.938 kB / 419.4 MB, free: 58.36 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.2883, allocations: 0.9651 MB / 420.3 MB, free: 57.87 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002407/0.2885, allocations: 115.3 kB / 420.4 MB, free: 57.8 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.273e-05/0.2886, allocations: 16.81 kB / 420.4 MB, free: 57.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/0.2889, allocations: 18.73 kB / 420.5 MB, free: 57.78 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.289, allocations: 49.16 kB / 420.5 MB, free: 57.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.837e-05/0.289, allocations: 27.88 kB / 420.5 MB, free: 57.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003491/0.2894, allocations: 317.9 kB / 420.8 MB, free: 57.62 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2894, allocations: 1.125 kB / 420.9 MB, free: 57.62 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001378/0.2908, allocations: 488.7 kB / 421.3 MB, free: 57.58 MB / 330.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.001059/0.2918, allocations: 0.6197 MB / 421.9 MB, free: 57.41 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009505/0.2928, allocations: 0.5722 MB / 422.5 MB, free: 57.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2928, allocations: 1.969 kB / 422.5 MB, free: 57.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003666/0.2931, allocations: 264.2 kB / 422.8 MB, free: 57.14 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008079/0.294, allocations: 170.5 kB / 422.9 MB, free: 57.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.2961, allocations: 1.441 MB / 424.4 MB, free: 56.31 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.2964, allocations: 371 kB / 424.7 MB, free: 56.2 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005006/0.2969, allocations: 172 kB / 424.9 MB, free: 56.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.2972, allocations: 95.81 kB / 425 MB, free: 56.17 MB / 330.7 MB Notification: Performance of SimCode: time 8.11e-07/0.2972, allocations: 2.688 kB / 425 MB, free: 56.17 MB / 330.7 MB Notification: Performance of Templates: time 0.01942/0.3166, allocations: 14.28 MB / 439.3 MB, free: 44.93 MB / 330.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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.350859435973689]