Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.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.0007374/0.0007374, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007565/0.0007565, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.84/0.84, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.0818/0.0818, allocations: 17.45 MB / 277.4 MB, free: 11.77 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.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction") translateModel(Chemical.Obsolete.Examples.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 412.9 MB, free: 15.78 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.599e-05, allocations: 2.281 kB / 412.9 MB, free: 15.78 MB / 394.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.008761/0.008787, allocations: 7.56 MB / 420.4 MB, free: 8.184 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01777/0.02656, allocations: 20.5 MB / 440.9 MB, free: 3.594 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008671/0.02742, allocations: 31.75 kB / 441 MB, free: 3.562 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009056/0.02833, allocations: 488 kB / 441.4 MB, free: 3.082 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004061/0.03239, allocations: 2.105 MB / 443.5 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1772/0.2096, allocations: 3.143 MB / 446.7 MB, free: 45.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002216/0.2118, allocations: 2.59 MB / 449.3 MB, free: 44.42 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008632/0.2126, allocations: 1.146 MB / 450.4 MB, free: 44.29 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.2137, allocations: 1.717 MB / 452.1 MB, free: 44.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008582/0.2146, allocations: 1.1 MB / 453.2 MB, free: 44.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001843/0.2147, allocations: 218.2 kB / 453.4 MB, free: 44.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004389/0.2191, allocations: 2.487 MB / 455.9 MB, free: 44.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002515/0.2194, allocations: 0.5177 MB / 456.4 MB, free: 43.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004878/0.2199, allocations: 0.7944 MB / 457.2 MB, free: 43.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004799/0.2247, allocations: 5.506 MB / 462.7 MB, free: 42.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2247, allocations: 0 / 462.7 MB, free: 42.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2247, allocations: 0 / 462.7 MB, free: 42.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.661e-05/0.2247, allocations: 0 / 462.7 MB, free: 42.2 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 455 * Number of variables: 455 Notification: Performance of Generate backend data structure: time 0.002732/0.2274, allocations: 2.63 MB / 465.4 MB, free: 40.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.2275, allocations: 9.062 kB / 465.4 MB, free: 40.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009359/0.2284, allocations: 424.3 kB / 465.8 MB, free: 40.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.2294, allocations: 0.8987 MB / 466.7 MB, free: 40.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.2295, allocations: 242.1 kB / 466.9 MB, free: 39.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001806/0.2297, allocations: 192.8 kB / 467.1 MB, free: 39.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/0.2316, allocations: 2.084 MB / 469.2 MB, free: 39.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/0.2316, allocations: 3.656 kB / 469.2 MB, free: 39.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.2317, allocations: 72.38 kB / 469.3 MB, free: 38.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/0.2318, allocations: 45.66 kB / 469.3 MB, free: 38.97 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00226/0.234, allocations: 2.554 MB / 471.9 MB, free: 38.23 MB / 410.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.005176/0.2392, allocations: 5.122 MB / 477 MB, free: 35.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002899/0.2421, allocations: 2.16 MB / 479.2 MB, free: 34.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007901/0.2429, allocations: 0.738 MB / 479.9 MB, free: 34.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005183/0.2481, allocations: 4.188 MB / 484.1 MB, free: 32.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.2481, allocations: 45.28 kB / 484.1 MB, free: 32.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 3.035e-06/0.2481, allocations: 3.281 kB / 484.1 MB, free: 32.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.01282/0.2609, allocations: 5.811 MB / 489.9 MB, free: 30.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.261, allocations: 98.41 kB / 490 MB, free: 30.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008407/0.2618, allocations: 0.8586 MB / 490.9 MB, free: 30.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.707e-05/0.2619, allocations: 50.73 kB / 491 MB, free: 30.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003366/0.2622, allocations: 0.8612 MB / 491.8 MB, free: 29.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002581/0.2625, allocations: 0.5351 MB / 492.3 MB, free: 28.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003648/0.2628, allocations: 369.6 kB / 492.7 MB, free: 28.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.535e-05/0.2629, allocations: 358.5 kB / 493.1 MB, free: 28.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006884/0.2636, allocations: 0.5291 MB / 493.6 MB, free: 28.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009513/0.2645, allocations: 1.244 MB / 494.8 MB, free: 27.14 MB / 410.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: solution_at_constant_temperature.temperature = solution_at_constant_temperature.temperature_start (fixedTemperature.T = solution_at_constant_temperature.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001828/0.2664, allocations: 1.971 MB / 496.8 MB, free: 25.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.2664, allocations: 10.88 kB / 496.8 MB, free: 25.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.004238/0.2706, allocations: 2.523 MB / 499.3 MB, free: 24.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.2706, allocations: 20.56 kB / 499.4 MB, free: 24.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.219e-05/0.2707, allocations: 22.61 kB / 499.4 MB, free: 24.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002436/0.2731, allocations: 0.6971 MB / 0.4884 GB, free: 24.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.2741, allocations: 0.5269 MB / 0.4889 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005749/0.2798, allocations: 7.693 MB / 0.4964 GB, free: 18.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006997/0.2805, allocations: 76.3 kB / 0.4965 GB, free: 18.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.2807, allocations: 111.2 kB / 0.4966 GB, free: 18.25 MB / 410.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: solution_at_constant_temperature.temperature = solution_at_constant_temperature.temperature_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * 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 (241): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,6,77.8%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004844/0.2811, allocations: 383.5 kB / 0.4969 GB, free: 18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.2813, allocations: 131.1 kB / 0.4971 GB, free: 17.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004308/0.2856, allocations: 2.466 MB / 0.4995 GB, free: 16.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.2856, allocations: 14.97 kB / 0.4995 GB, free: 16.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2856, allocations: 5.625 kB / 0.4995 GB, free: 16.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.2856, allocations: 11.3 kB / 0.4995 GB, free: 16.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002794/0.2884, allocations: 2.134 MB / 0.5016 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.2884, allocations: 6.406 kB / 0.5016 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007008/0.2891, allocations: 311.5 kB / 0.5019 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002709/0.2918, allocations: 0.746 MB / 0.5026 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.338e-05/0.2919, allocations: 42.61 kB / 0.5026 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00523/0.2971, allocations: 8.777 MB / 0.5112 GB, free: 6.621 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2971, allocations: 4.031 kB / 0.5112 GB, free: 6.617 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004069/0.3012, allocations: 2.79 MB / 0.5139 GB, free: 4.129 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/0.3014, allocations: 124.1 kB / 0.5141 GB, free: 4.012 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.697e-05/0.3015, allocations: 35.94 kB / 0.5141 GB, free: 3.977 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003679/0.3018, allocations: 30.91 kB / 0.5141 GB, free: 3.949 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002076/0.302, allocations: 129.7 kB / 0.5143 GB, free: 3.883 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.261e-05/0.3021, allocations: 57.81 kB / 0.5143 GB, free: 3.832 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004403/0.3025, allocations: 0.5457 MB / 0.5148 GB, free: 3.359 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.3025, allocations: 0 / 0.5148 GB, free: 3.359 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002405/0.3049, allocations: 1.066 MB / 0.5159 GB, free: 2.312 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (A1.logn,B1.logn,H2O.logn,A.logn,B.logn,H2O1.amountOfBonds,H2O1.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 (137): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,1), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001261/0.3062, allocations: 1.16 MB / 0.517 GB, free: 1.395 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002118/0.3083, allocations: 1.989 MB / 0.519 GB, free: 15.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3083, allocations: 0 / 0.519 GB, free: 15.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001243/0.3096, allocations: 1.3 MB / 0.5202 GB, free: 14.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009785/0.3105, allocations: 295.4 kB / 0.5205 GB, free: 14.17 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003784/0.3143, allocations: 2.966 MB / 0.5234 GB, free: 11.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004914/0.3148, allocations: 0.6821 MB / 0.5241 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003622/0.3152, allocations: 261.7 kB / 0.5243 GB, free: 10.6 MB / 426.7 MB Notification: Performance of SimCode: time 8.72e-07/0.3152, allocations: 0 / 0.5243 GB, free: 10.6 MB / 426.7 MB Notification: Performance of Templates: time 0.03892/0.3541, allocations: 57.95 MB / 0.5809 GB, free: 0.8203 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.sim & ./Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.153914602473378] Failed to read output from testmodel.py, exit status != 0: 0.36104144621640444 0.367950306 0.14144051400000002 Calling exit ...