Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001678/0.001678, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002479/0.002479, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.619/1.619, allocations: 230.6 MB / 256.8 MB, free: 7.957 MB / 206.1 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.1551/0.1551, allocations: 23.86 MB / 337.1 MB, free: 11.16 MB / 270.1 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.ExothermicReaction,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_ExothermicReaction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ExothermicReaction,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_ExothermicReaction",fmuType="cs",version="2.0",platforms={"static"}) [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.002834/0.002834, allocations: 63.91 kB / 471.9 MB, free: 7.672 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.366, allocations: 59.86 MB / 0.5193 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.01038/0.3764, allocations: 8.682 MB / 0.5278 GB, free: 3.418 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03122/0.4076, allocations: 23.41 MB / 0.5507 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002178/0.4098, allocations: 30.88 kB / 0.5507 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001874/0.4117, allocations: 0.5195 MB / 0.5512 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008425/0.4201, allocations: 2.045 MB / 0.5532 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01149/0.4316, allocations: 3.062 MB / 0.5562 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005109/0.4367, allocations: 2.511 MB / 0.5587 GB, free: 13.29 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002041/0.4387, allocations: 1.157 MB / 0.5598 GB, free: 12.42 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002389/0.4411, allocations: 1.244 MB / 0.561 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00303/0.4442, allocations: 1.377 MB / 0.5623 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000623/0.4448, allocations: 216.5 kB / 0.5626 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01174/0.4565, allocations: 2.635 MB / 0.5651 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00132/0.4578, allocations: 0.507 MB / 0.5656 GB, free: 9.621 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002618/0.4605, allocations: 1.094 MB / 0.5667 GB, free: 8.887 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01699/0.4774, allocations: 5.195 MB / 0.5718 GB, free: 4.211 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.4775, allocations: 0 / 0.5718 GB, free: 4.211 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4775, allocations: 0 / 0.5718 GB, free: 4.211 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.296e-05/0.4775, allocations: 0 / 0.5718 GB, free: 4.211 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.00606/0.4836, allocations: 2.658 MB / 0.5744 GB, free: 1.512 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.4837, allocations: 8.031 kB / 0.5744 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.437e-05/0.4837, allocations: 47.77 kB / 0.5744 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003515/0.4841, allocations: 257.7 kB / 0.5747 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001917/0.486, allocations: 422.9 kB / 0.5751 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001958/0.4879, allocations: 0.906 MB / 0.5759 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002312/0.4882, allocations: 243 kB / 0.5762 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003361/0.4885, allocations: 192.1 kB / 0.5764 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003882/0.4924, allocations: 2.078 MB / 0.5784 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/0.4924, allocations: 8 kB / 0.5784 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001828/0.4926, allocations: 68 kB / 0.5785 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.012e-05/0.4926, allocations: 44 kB / 0.5785 GB, free: 13.17 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004688/0.4973, allocations: 2.581 MB / 0.581 GB, free: 10.59 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.01217/0.5095, allocations: 6.301 MB / 0.5872 GB, free: 4.059 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005454/0.5149, allocations: 2.189 MB / 0.5893 GB, free: 1.848 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/0.5165, allocations: 0.7377 MB / 0.59 GB, free: 1.105 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01043/0.527, allocations: 4.44 MB / 0.5944 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.473e-05/0.527, allocations: 43.56 kB / 0.5944 GB, free: 12.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 3.677e-06/0.527, allocations: 0 / 0.5944 GB, free: 12.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.02819/0.5552, allocations: 5.826 MB / 0.6001 GB, free: 6.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.784e-05/0.5553, allocations: 98.41 kB / 0.6002 GB, free: 6.566 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.5567, allocations: 0.9336 MB / 0.6011 GB, free: 5.617 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002205/0.5569, allocations: 49.7 kB / 0.6012 GB, free: 5.562 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006889/0.5576, allocations: 0.8705 MB / 0.602 GB, free: 4.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005753/0.5582, allocations: 0.5384 MB / 0.6025 GB, free: 4.137 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005739/0.5588, allocations: 375.4 kB / 0.6029 GB, free: 3.762 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.5589, allocations: 305.1 kB / 0.6032 GB, free: 3.461 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.5599, allocations: 0.5311 MB / 0.6037 GB, free: 2.926 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001701/0.5616, allocations: 1.243 MB / 0.6049 GB, free: 1.348 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.003161/0.5648, allocations: 1.962 MB / 0.6068 GB, free: 15.05 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-05/0.5648, allocations: 8 kB / 0.6068 GB, free: 15.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008523/0.5733, allocations: 2.542 MB / 0.6093 GB, free: 12.48 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.643e-05/0.5734, allocations: 12 kB / 0.6093 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.182e-05/0.5734, allocations: 27.98 kB / 0.6094 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005567/0.579, allocations: 0.7017 MB / 0.61 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002088/0.5811, allocations: 0.5266 MB / 0.6106 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01304/0.5941, allocations: 7.857 MB / 0.6182 GB, free: 2.891 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.5956, allocations: 75.94 kB / 0.6183 GB, free: 2.816 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002034/0.5958, allocations: 112 kB / 0.6184 GB, free: 2.707 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.0007825/0.5966, allocations: 377.1 kB / 0.6188 GB, free: 2.328 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003745/0.597, allocations: 147.1 kB / 0.6189 GB, free: 2.184 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00901/0.606, allocations: 2.47 MB / 0.6213 GB, free: 15.65 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.143e-05/0.606, allocations: 16 kB / 0.6213 GB, free: 15.63 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.638e-05/0.606, allocations: 7.938 kB / 0.6213 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.634e-05/0.6061, allocations: 7.984 kB / 0.6214 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005913/0.612, allocations: 2.508 MB / 0.6238 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.612, allocations: 4 kB / 0.6238 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001545/0.6135, allocations: 315.9 kB / 0.6241 GB, free: 12.71 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006611/0.6201, allocations: 0.7455 MB / 0.6248 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002288/0.6204, allocations: 43.98 kB / 0.6249 GB, free: 11.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01346/0.6338, allocations: 8.995 MB / 0.6337 GB, free: 2.34 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.6338, allocations: 7.969 kB / 0.6337 GB, free: 2.332 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009504/0.6433, allocations: 2.804 MB / 0.6364 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004052/0.6437, allocations: 139 kB / 0.6365 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002632/0.644, allocations: 28 kB / 0.6366 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009103/0.6449, allocations: 35.98 kB / 0.6366 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003436/0.6453, allocations: 129 kB / 0.6367 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/0.6454, allocations: 51.98 kB / 0.6368 GB, free: 15.09 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001003/0.6464, allocations: 0.6381 MB / 0.6374 GB, free: 14.45 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6464, allocations: 0 / 0.6374 GB, free: 14.45 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003613/0.65, allocations: 1.056 MB / 0.6384 GB, free: 13.39 MB / 494.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.01237/0.6624, allocations: 4.381 MB / 0.6427 GB, free: 8.926 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004355/0.6667, allocations: 1.991 MB / 0.6447 GB, free: 6.891 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.6667, allocations: 0 / 0.6447 GB, free: 6.891 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002449/0.6692, allocations: 1.298 MB / 0.6459 GB, free: 5.531 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001984/0.6712, allocations: 326.8 kB / 0.6462 GB, free: 5.219 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03198/0.7031, allocations: 13.6 MB / 0.6595 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001272/0.7044, allocations: 1.268 MB / 0.6608 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001381/0.7058, allocations: 335.7 kB / 0.6611 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00113/0.7069, allocations: 0.714 MB / 0.6618 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of SimCode: time 1.072e-06/0.7069, allocations: 0 / 0.6618 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.121/0.8279, allocations: 53.16 MB / 0.7137 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.22/18.05, allocations: 10.5 kB / 0.7137 GB, free: 15.52 MB / 0.5606 GB " [Timeout remaining time 642] (rm -f Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ExothermicReaction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_ExothermicReaction_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_ExothermicReaction.fmu > Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.337084583938122] Failed to read output from testmodel.py, exit status != 0: 18.27053642796818 18.297997226 17.814956527 Calling exit ...