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.001342/0.001342, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001571/0.001571, allocations: 216.6 kB / 23.03 MB, free: 4.918 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.603/1.603, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.1904/0.1904, allocations: 23.89 MB / 337.1 MB, free: 10.98 MB / 270.1 MB " [Timeout remaining time 179] 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.002034/0.002034, allocations: 71.89 kB / 471.9 MB, free: 7.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3558, allocations: 59.86 MB / 0.5193 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.007581/0.3634, allocations: 7.585 MB / 0.5267 GB, free: 4.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02749/0.3909, allocations: 20.5 MB / 0.5467 GB, free: 6.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002144/0.393, allocations: 30.59 kB / 0.5467 GB, free: 6.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.3946, allocations: 473.4 kB / 0.5472 GB, free: 6.223 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007867/0.4025, allocations: 2.043 MB / 0.5492 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01167/0.4142, allocations: 3.056 MB / 0.5522 GB, free: 3.004 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004837/0.419, allocations: 2.501 MB / 0.5546 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001956/0.421, allocations: 1.166 MB / 0.5558 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002479/0.4234, allocations: 1.243 MB / 0.557 GB, free: 48 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003259/0.4267, allocations: 1.377 MB / 0.5583 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007362/0.4274, allocations: 216.1 kB / 0.5585 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01111/0.4385, allocations: 2.533 MB / 0.561 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001008/0.4395, allocations: 0.506 MB / 0.5615 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002333/0.4419, allocations: 0.9276 MB / 0.5624 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01501/0.4569, allocations: 5.184 MB / 0.5675 GB, free: 8.383 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.4569, allocations: 3.938 kB / 0.5675 GB, free: 8.379 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4569, allocations: 0 / 0.5675 GB, free: 8.379 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001275/0.457, allocations: 7.938 kB / 0.5675 GB, free: 8.371 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.00626/0.4633, allocations: 2.635 MB / 0.57 GB, free: 5.691 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.4633, allocations: 12.03 kB / 0.5701 GB, free: 5.68 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.873e-05/0.4634, allocations: 47.77 kB / 0.5701 GB, free: 5.633 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004046/0.4638, allocations: 257.6 kB / 0.5703 GB, free: 5.371 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002078/0.4659, allocations: 434.9 kB / 0.5708 GB, free: 4.945 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002184/0.468, allocations: 0.8982 MB / 0.5716 GB, free: 4.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003018/0.4684, allocations: 250.9 kB / 0.5719 GB, free: 3.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004347/0.4688, allocations: 188.1 kB / 0.5721 GB, free: 3.566 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004308/0.4731, allocations: 2.078 MB / 0.5741 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.564e-05/0.4731, allocations: 11.94 kB / 0.5741 GB, free: 1.445 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002247/0.4734, allocations: 68 kB / 0.5742 GB, free: 1.379 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.791e-05/0.4734, allocations: 44 kB / 0.5742 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004992/0.4784, allocations: 2.581 MB / 0.5767 GB, free: 14.75 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.01176/0.4902, allocations: 5.359 MB / 0.582 GB, free: 9.277 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005491/0.4957, allocations: 2.168 MB / 0.5841 GB, free: 7.086 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/0.497, allocations: 0.7377 MB / 0.5848 GB, free: 6.344 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0106/0.5076, allocations: 4.202 MB / 0.5889 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.722e-05/0.5076, allocations: 43.56 kB / 0.5889 GB, free: 2.066 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 3.867e-06/0.5076, allocations: 0 / 0.5889 GB, free: 2.066 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.03052/0.5382, allocations: 5.838 MB / 0.5946 GB, free: 12.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.76e-05/0.5382, allocations: 94.42 kB / 0.5947 GB, free: 12.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/0.5398, allocations: 0.9336 MB / 0.5956 GB, free: 11.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001549/0.5399, allocations: 53.7 kB / 0.5957 GB, free: 11.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007102/0.5406, allocations: 0.8628 MB / 0.5965 GB, free: 10.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006168/0.5412, allocations: 0.5501 MB / 0.5971 GB, free: 9.602 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006742/0.5419, allocations: 367.4 kB / 0.5974 GB, free: 9.234 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.542, allocations: 305.1 kB / 0.5977 GB, free: 8.934 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.5432, allocations: 0.5272 MB / 0.5982 GB, free: 8.402 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001766/0.545, allocations: 1.247 MB / 0.5994 GB, free: 6.816 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.003204/0.5482, allocations: 1.969 MB / 0.6014 GB, free: 4.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.202e-05/0.5482, allocations: 8 kB / 0.6014 GB, free: 4.512 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.009431/0.5576, allocations: 2.53 MB / 0.6039 GB, free: 1.961 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.227e-05/0.5577, allocations: 16 kB / 0.6039 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.555e-05/0.5577, allocations: 28.12 kB / 0.6039 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006426/0.5641, allocations: 0.6978 MB / 0.6046 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002156/0.5663, allocations: 0.5227 MB / 0.6051 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01357/0.5799, allocations: 7.776 MB / 0.6127 GB, free: 8.449 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.5814, allocations: 79.98 kB / 0.6128 GB, free: 8.371 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003561/0.5818, allocations: 108 kB / 0.6129 GB, free: 8.266 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.001076/0.5828, allocations: 396.8 kB / 0.6132 GB, free: 7.871 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005193/0.5834, allocations: 147.1 kB / 0.6134 GB, free: 7.727 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01023/0.5936, allocations: 2.47 MB / 0.6158 GB, free: 5.195 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.159e-05/0.5936, allocations: 16 kB / 0.6158 GB, free: 5.18 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.702e-05/0.5936, allocations: 3.938 kB / 0.6158 GB, free: 5.176 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.907e-05/0.5937, allocations: 11.97 kB / 0.6158 GB, free: 5.164 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006116/0.5998, allocations: 2.302 MB / 0.6181 GB, free: 2.773 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/0.5998, allocations: 4 kB / 0.6181 GB, free: 2.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00154/0.6013, allocations: 308 kB / 0.6184 GB, free: 2.469 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007064/0.6084, allocations: 0.7571 MB / 0.6191 GB, free: 1.695 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001445/0.6085, allocations: 39.98 kB / 0.6191 GB, free: 1.656 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0144/0.6229, allocations: 8.897 MB / 0.6278 GB, free: 8.188 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.6229, allocations: 4.031 kB / 0.6278 GB, free: 8.184 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01107/0.634, allocations: 2.808 MB / 0.6306 GB, free: 5.316 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005088/0.6345, allocations: 135.2 kB / 0.6307 GB, free: 5.184 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003789/0.6349, allocations: 32 kB / 0.6307 GB, free: 5.152 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.636, allocations: 31.94 kB / 0.6308 GB, free: 5.121 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003779/0.6363, allocations: 137 kB / 0.6309 GB, free: 4.988 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001342/0.6365, allocations: 51.98 kB / 0.6309 GB, free: 4.938 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001113/0.6376, allocations: 0.6342 MB / 0.6316 GB, free: 4.297 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6376, allocations: 0 / 0.6316 GB, free: 4.297 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003623/0.6412, allocations: 1.064 MB / 0.6326 GB, free: 3.23 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.01379/0.655, allocations: 4.37 MB / 0.6369 GB, free: 14.78 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004782/0.6598, allocations: 1.995 MB / 0.6388 GB, free: 12.74 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/0.6598, allocations: 0 / 0.6388 GB, free: 12.74 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002539/0.6623, allocations: 1.309 MB / 0.6401 GB, free: 11.37 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/0.6645, allocations: 312.5 kB / 0.6404 GB, free: 11.06 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03229/0.6968, allocations: 13.6 MB / 0.6537 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009893/0.6978, allocations: 0.6841 MB / 0.6543 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001319/0.6991, allocations: 331.8 kB / 0.6547 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/0.7002, allocations: 0.714 MB / 0.6554 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of SimCode: time 8.11e-07/0.7002, allocations: 0 / 0.6554 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1161/0.8163, allocations: 54.08 MB / 0.7082 GB, free: 5.145 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.35/18.17, allocations: 4.062 kB / 0.7082 GB, free: 5.141 MB / 0.545 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 os._exit(0), Time elapsed: 21.3139099230757] Failed to read output from testmodel.py, exit status != 0: 18.381471189088188 18.407493204 17.945439457 Calling exit ...