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.001403/0.001403, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 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.001756/0.001756, allocations: 211.5 kB / 22.99 MB, free: 4.953 MB / 14.72 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.546/1.546, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.1479/0.1479, allocations: 23.92 MB / 337.1 MB, free: 10.93 MB / 270.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 63.91 kB / 472.4 MB, free: 6.961 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3497, allocations: 59.88 MB / 0.5198 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.008855/0.3586, allocations: 7.587 MB / 0.5272 GB, free: 4.695 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02893/0.3875, allocations: 20.51 MB / 0.5473 GB, free: 6.699 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002023/0.3895, allocations: 32.97 kB / 0.5473 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001775/0.3913, allocations: 479.7 kB / 0.5478 GB, free: 6.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007944/0.3993, allocations: 2.042 MB / 0.5498 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01068/0.4099, allocations: 3.057 MB / 0.5527 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005117/0.415, allocations: 2.499 MB / 0.5552 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002137/0.4172, allocations: 1.154 MB / 0.5563 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002342/0.4195, allocations: 1.244 MB / 0.5575 GB, free: 148 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002728/0.4223, allocations: 1.386 MB / 0.5589 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004882/0.4227, allocations: 218.3 kB / 0.5591 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008661/0.4314, allocations: 2.53 MB / 0.5616 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008825/0.4323, allocations: 0.5104 MB / 0.5621 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001771/0.4341, allocations: 0.9247 MB / 0.563 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01352/0.4476, allocations: 5.179 MB / 0.568 GB, free: 8.203 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4476, allocations: 0 / 0.568 GB, free: 8.203 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4476, allocations: 0 / 0.568 GB, free: 8.203 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.302e-05/0.4476, allocations: 0 / 0.568 GB, free: 8.203 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.005399/0.453, allocations: 2.643 MB / 0.5706 GB, free: 5.516 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.4531, allocations: 8.031 kB / 0.5706 GB, free: 5.508 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001905/0.455, allocations: 430.9 kB / 0.571 GB, free: 5.086 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001926/0.4569, allocations: 0.9099 MB / 0.5719 GB, free: 4.148 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002392/0.4571, allocations: 250.9 kB / 0.5721 GB, free: 3.879 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003371/0.4575, allocations: 188.3 kB / 0.5723 GB, free: 3.695 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003705/0.4612, allocations: 2.078 MB / 0.5743 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.243e-05/0.4612, allocations: 3.938 kB / 0.5744 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001912/0.4614, allocations: 76 kB / 0.5744 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-05/0.4615, allocations: 44 kB / 0.5745 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004497/0.466, allocations: 2.545 MB / 0.577 GB, free: 14.92 MB / 430.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.01126/0.4772, allocations: 5.141 MB / 0.582 GB, free: 9.672 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005095/0.4823, allocations: 2.163 MB / 0.5841 GB, free: 7.484 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001367/0.4837, allocations: 0.7454 MB / 0.5848 GB, free: 6.734 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01021/0.4939, allocations: 4.175 MB / 0.5889 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.733e-05/0.4939, allocations: 47.56 kB / 0.5889 GB, free: 2.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 3.978e-06/0.4939, allocations: 0 / 0.5889 GB, free: 2.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.0271/0.521, allocations: 5.815 MB / 0.5946 GB, free: 12.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.472e-05/0.5211, allocations: 102.3 kB / 0.5947 GB, free: 12.47 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/0.5225, allocations: 0.8601 MB / 0.5956 GB, free: 11.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002498/0.5228, allocations: 49.7 kB / 0.5956 GB, free: 11.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007111/0.5235, allocations: 0.8589 MB / 0.5964 GB, free: 10.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006097/0.5241, allocations: 0.5384 MB / 0.597 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005623/0.5246, allocations: 379.4 kB / 0.5973 GB, free: 9.738 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.5248, allocations: 361.9 kB / 0.5977 GB, free: 9.379 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/0.5259, allocations: 0.5311 MB / 0.5982 GB, free: 8.844 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001768/0.5277, allocations: 1.236 MB / 0.5994 GB, free: 7.27 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.003206/0.5309, allocations: 1.985 MB / 0.6013 GB, free: 4.961 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.719e-05/0.5309, allocations: 4 kB / 0.6013 GB, free: 4.957 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008635/0.5395, allocations: 2.53 MB / 0.6038 GB, free: 2.406 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/0.5396, allocations: 16 kB / 0.6038 GB, free: 2.391 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.706e-05/0.5396, allocations: 20 kB / 0.6038 GB, free: 2.371 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005488/0.5451, allocations: 0.698 MB / 0.6045 GB, free: 1.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002317/0.5474, allocations: 0.5227 MB / 0.605 GB, free: 1.137 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01311/0.5605, allocations: 7.681 MB / 0.6125 GB, free: 9.043 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001948/0.5625, allocations: 79.98 kB / 0.6126 GB, free: 8.965 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000298/0.5628, allocations: 112 kB / 0.6127 GB, free: 8.855 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.0009289/0.5637, allocations: 385.2 kB / 0.6131 GB, free: 8.469 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004219/0.5641, allocations: 139.1 kB / 0.6132 GB, free: 8.332 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008503/0.5726, allocations: 2.469 MB / 0.6156 GB, free: 5.805 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/0.5726, allocations: 16 kB / 0.6156 GB, free: 5.789 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.5727, allocations: 0 / 0.6156 GB, free: 5.789 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-05/0.5727, allocations: 7.984 kB / 0.6157 GB, free: 5.781 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00555/0.5782, allocations: 2.129 MB / 0.6177 GB, free: 3.574 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/0.5782, allocations: 8 kB / 0.6177 GB, free: 3.566 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001539/0.5798, allocations: 308 kB / 0.618 GB, free: 3.266 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006255/0.586, allocations: 0.7571 MB / 0.6188 GB, free: 2.492 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002434/0.5863, allocations: 39.98 kB / 0.6188 GB, free: 2.453 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01302/0.5993, allocations: 8.767 MB / 0.6274 GB, free: 9.176 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.5993, allocations: 4 kB / 0.6274 GB, free: 9.172 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009266/0.6086, allocations: 2.803 MB / 0.6301 GB, free: 6.309 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003979/0.609, allocations: 123.1 kB / 0.6302 GB, free: 6.188 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002259/0.6092, allocations: 31.98 kB / 0.6303 GB, free: 6.156 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007818/0.61, allocations: 32 kB / 0.6303 GB, free: 6.125 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003742/0.6103, allocations: 133 kB / 0.6304 GB, free: 5.996 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/0.6105, allocations: 51.98 kB / 0.6305 GB, free: 5.945 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009067/0.6114, allocations: 0.5527 MB / 0.631 GB, free: 5.383 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6114, allocations: 0 / 0.631 GB, free: 5.383 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004093/0.6155, allocations: 1.06 MB / 0.632 GB, free: 4.32 MB / 478.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.002415/0.6179, allocations: 1.133 MB / 0.6331 GB, free: 3.172 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00423/0.6221, allocations: 1.991 MB / 0.6351 GB, free: 1.133 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.6221, allocations: 0 / 0.6351 GB, free: 1.133 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002387/0.6245, allocations: 1.294 MB / 0.6364 GB, free: 15.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/0.6262, allocations: 310.2 kB / 0.6367 GB, free: 15.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005726/0.632, allocations: 3.071 MB / 0.6397 GB, free: 12.34 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008357/0.6328, allocations: 0.6759 MB / 0.6403 GB, free: 11.62 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007214/0.6335, allocations: 259.3 kB / 0.6406 GB, free: 11.37 MB / 494.1 MB Notification: Performance of SimCode: time 1.162e-06/0.6335, allocations: 0 / 0.6406 GB, free: 11.37 MB / 494.1 MB Notification: Performance of Templates: time 0.07173/0.7052, allocations: 57.78 MB / 0.697 GB, free: 1.645 MB / 0.5294 GB " [Timeout remaining time 659] 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: 11.658434520009905] Failed to read output from testmodel.py, exit status != 0: 0.7153837159858085 0.728993327 0.278105775 Calling exit ...