Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.ExothermicReaction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.56/1.56, allocations: 225.6 MB / 249.4 MB, free: 3.125 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.09472/0.09472, allocations: 15.54 MB / 320 MB, free: 13.12 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ExothermicReaction") translateModel(Chemical.Examples.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ExothermicReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 68.41 kB / 448.2 MB, free: 46.15 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1211, allocations: 56.55 MB / 0.4929 GB, free: 18.99 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.ExothermicReaction): time 0.007336/0.1285, allocations: 8.651 MB / 0.5014 GB, free: 12.14 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02632/0.1548, allocations: 23.37 MB / 0.5242 GB, free: 4.961 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/0.1563, allocations: 19.88 kB / 0.5242 GB, free: 4.941 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001827/0.1581, allocations: 0.5195 MB / 0.5247 GB, free: 4.418 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006756/0.1649, allocations: 2.025 MB / 0.5267 GB, free: 2.379 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009389/0.1743, allocations: 3.021 MB / 0.5297 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005269/0.1795, allocations: 2.5 MB / 0.5321 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002557/0.1821, allocations: 1.153 MB / 0.5332 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00266/0.1847, allocations: 1.231 MB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003465/0.1882, allocations: 1.37 MB / 0.5358 GB, free: 9.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009063/0.1891, allocations: 216 kB / 0.536 GB, free: 8.801 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0108/0.1999, allocations: 2.636 MB / 0.5386 GB, free: 6.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001096/0.201, allocations: 0.5102 MB / 0.5391 GB, free: 5.648 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001954/0.203, allocations: 1.085 MB / 0.5401 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01573/0.2187, allocations: 5.058 MB / 0.5451 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.2187, allocations: 0 / 0.5451 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.2187, allocations: 0 / 0.5451 GB, free: 15.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.717e-05/0.2188, allocations: 3.938 kB / 0.5451 GB, free: 15.48 MB / 414.1 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.008053/0.2268, allocations: 2.722 MB / 0.5477 GB, free: 12.69 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.689e-05/0.2269, allocations: 8.031 kB / 0.5477 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00343/0.2303, allocations: 426.9 kB / 0.5481 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003021/0.2334, allocations: 0.9599 MB / 0.5491 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002812/0.2336, allocations: 199.5 kB / 0.5493 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005395/0.2342, allocations: 184.3 kB / 0.5494 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00579/0.24, allocations: 2.082 MB / 0.5515 GB, free: 8.762 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.424e-05/0.24, allocations: 0 / 0.5515 GB, free: 8.762 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002927/0.2403, allocations: 79.92 kB / 0.5515 GB, free: 8.684 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.143e-05/0.2404, allocations: 47.98 kB / 0.5516 GB, free: 8.637 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004865/0.2452, allocations: 2.588 MB / 0.5541 GB, free: 6.047 MB / 414.1 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.01215/0.2574, allocations: 6.344 MB / 0.5603 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00534/0.2627, allocations: 2.406 MB / 0.5627 GB, free: 13.01 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001359/0.2641, allocations: 0.7536 MB / 0.5634 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01137/0.2755, allocations: 8.073 MB / 0.5713 GB, free: 3.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.492e-05/0.2755, allocations: 51.62 kB / 0.5713 GB, free: 3.191 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 2.736e-06/0.2755, allocations: 0 / 0.5713 GB, free: 3.191 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.0286/0.3041, allocations: 6.218 MB / 0.5774 GB, free: 12.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.3042, allocations: 94.42 kB / 0.5775 GB, free: 12.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/0.3057, allocations: 0.9452 MB / 0.5784 GB, free: 11.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002073/0.3059, allocations: 49.7 kB / 0.5785 GB, free: 11.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006449/0.3065, allocations: 0.859 MB / 0.5793 GB, free: 10.81 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005906/0.3071, allocations: 0.5423 MB / 0.5798 GB, free: 10.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005518/0.3077, allocations: 371.5 kB / 0.5802 GB, free: 9.891 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3078, allocations: 301.1 kB / 0.5805 GB, free: 9.594 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.3088, allocations: 0.5311 MB / 0.581 GB, free: 9.059 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00171/0.3105, allocations: 1.251 MB / 0.5822 GB, free: 7.469 MB / 446.1 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.002961/0.3135, allocations: 2.036 MB / 0.5842 GB, free: 5.082 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-05/0.3135, allocations: 8 kB / 0.5842 GB, free: 5.074 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008852/0.3223, allocations: 2.542 MB / 0.5867 GB, free: 2.516 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.88e-05/0.3224, allocations: 12 kB / 0.5867 GB, free: 2.504 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.443e-05/0.3224, allocations: 24 kB / 0.5867 GB, free: 2.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006031/0.3284, allocations: 0.6941 MB / 0.5874 GB, free: 1.773 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002195/0.3306, allocations: 0.5343 MB / 0.5879 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01311/0.3438, allocations: 8.262 MB / 0.596 GB, free: 8.422 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.3453, allocations: 72 kB / 0.5961 GB, free: 8.352 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002012/0.3455, allocations: 116 kB / 0.5962 GB, free: 8.238 MB / 462.1 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.000825/0.3463, allocations: 377.1 kB / 0.5965 GB, free: 7.859 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000319/0.3466, allocations: 147 kB / 0.5967 GB, free: 7.715 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009297/0.3559, allocations: 2.468 MB / 0.5991 GB, free: 5.184 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.3559, allocations: 16 kB / 0.5991 GB, free: 5.168 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.3559, allocations: 3.938 kB / 0.5991 GB, free: 5.164 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.705e-05/0.3559, allocations: 11.91 kB / 0.5991 GB, free: 5.152 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005505/0.3614, allocations: 2.531 MB / 0.6016 GB, free: 2.527 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.3614, allocations: 4 kB / 0.6016 GB, free: 2.523 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001431/0.3629, allocations: 311.9 kB / 0.6019 GB, free: 2.219 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006962/0.3698, allocations: 0.7455 MB / 0.6026 GB, free: 1.457 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001786/0.37, allocations: 43.92 kB / 0.6027 GB, free: 1.414 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2763/0.6463, allocations: 9.479 MB / 0.6119 GB, free: 91.21 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.6463, allocations: 3.953 kB / 0.6119 GB, free: 91.21 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01063/0.6569, allocations: 2.816 MB / 0.6147 GB, free: 90.82 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006026/0.6576, allocations: 209.7 kB / 0.6149 GB, free: 90.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002541/0.6578, allocations: 33.25 kB / 0.6149 GB, free: 90.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008459/0.6587, allocations: 32.69 kB / 0.6149 GB, free: 90.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004594/0.6591, allocations: 129.2 kB / 0.6151 GB, free: 90.72 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001315/0.6592, allocations: 52.02 kB / 0.6151 GB, free: 90.72 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001082/0.6603, allocations: 0.6298 MB / 0.6157 GB, free: 90.61 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6603, allocations: 0 / 0.6157 GB, free: 90.61 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004118/0.6644, allocations: 1.065 MB / 0.6168 GB, free: 90.55 MB / 462.1 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.002923/0.6674, allocations: 1.111 MB / 0.6178 GB, free: 90.41 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004714/0.6721, allocations: 1.988 MB / 0.6198 GB, free: 89.46 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.6721, allocations: 4.562 kB / 0.6198 GB, free: 89.46 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00241/0.6745, allocations: 1.295 MB / 0.6211 GB, free: 88.65 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00192/0.6764, allocations: 331.5 kB / 0.6214 GB, free: 88.54 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005471/0.6819, allocations: 3.043 MB / 0.6243 GB, free: 86.99 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009124/0.6828, allocations: 1.265 MB / 0.6256 GB, free: 86.27 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001435/0.6842, allocations: 331.3 kB / 0.6259 GB, free: 86.23 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004473/0.6847, allocations: 202.8 kB / 0.6261 GB, free: 86.21 MB / 462.1 MB Notification: Performance of SimCode: time 2.043e-06/0.6847, allocations: 0 / 0.6261 GB, free: 86.21 MB / 462.1 MB Notification: Performance of Templates: time 0.05007/0.7348, allocations: 38.75 MB / 0.6639 GB, free: 53.25 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.ExothermicReaction.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.ExothermicReaction.pipe ; mkfifo Chemical_Chemical.Examples.ExothermicReaction.pipe ; head -c 1048576 < Chemical_Chemical.Examples.ExothermicReaction.pipe >> ../files/Chemical_Chemical.Examples.ExothermicReaction.sim & ./Chemical_Chemical.Examples.ExothermicReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.ExothermicReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.196875779889524]