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.001429/0.001429, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001983/0.001983, allocations: 212 kB / 22.24 MB, free: 5.262 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 7.793 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.1419/0.1419, allocations: 23.88 MB / 336.3 MB, free: 10.94 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ExothermicReaction,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_ExothermicReaction",fmuType="me",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.002179/0.002179, allocations: 59.91 kB / 471.1 MB, free: 7.488 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3771, allocations: 59.85 MB / 0.5185 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.009567/0.3867, allocations: 7.591 MB / 0.5259 GB, free: 4.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03076/0.4175, allocations: 20.51 MB / 0.546 GB, free: 6.535 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001922/0.4194, allocations: 30.06 kB / 0.546 GB, free: 6.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001628/0.421, allocations: 488.7 kB / 0.5465 GB, free: 6.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009082/0.4301, allocations: 2.038 MB / 0.5485 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01222/0.4423, allocations: 3.054 MB / 0.5514 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00557/0.4479, allocations: 2.504 MB / 0.5539 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00237/0.4502, allocations: 1.136 MB / 0.555 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002699/0.4529, allocations: 1.248 MB / 0.5562 GB, free: 116 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002716/0.4557, allocations: 1.233 MB / 0.5574 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004884/0.4562, allocations: 215.9 kB / 0.5576 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0112/0.4673, allocations: 2.471 MB / 0.56 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001153/0.4685, allocations: 0.5073 MB / 0.5605 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002185/0.4707, allocations: 0.9159 MB / 0.5614 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01757/0.4883, allocations: 5.183 MB / 0.5665 GB, free: 8.527 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.4883, allocations: 4 kB / 0.5665 GB, free: 8.523 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4883, allocations: 3.938 kB / 0.5665 GB, free: 8.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.684e-05/0.4883, allocations: 0 / 0.5665 GB, free: 8.52 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.006471/0.4948, allocations: 2.643 MB / 0.5691 GB, free: 5.832 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/0.4949, allocations: 8.031 kB / 0.5691 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003347/0.4952, allocations: 253.7 kB / 0.5693 GB, free: 5.566 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001932/0.4971, allocations: 434.9 kB / 0.5697 GB, free: 5.141 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002243/0.4994, allocations: 0.8981 MB / 0.5706 GB, free: 4.215 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002775/0.4997, allocations: 246.9 kB / 0.5708 GB, free: 3.949 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003668/0.5, allocations: 184.3 kB / 0.571 GB, free: 3.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004099/0.5041, allocations: 2.089 MB / 0.5731 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.139e-05/0.5042, allocations: 7.938 kB / 0.5731 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001808/0.5043, allocations: 68 kB / 0.5731 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-05/0.5044, allocations: 47.98 kB / 0.5732 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004588/0.509, allocations: 2.557 MB / 0.5757 GB, free: 14.97 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.0119/0.5209, allocations: 5.355 MB / 0.5809 GB, free: 9.496 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005337/0.5262, allocations: 2.161 MB / 0.583 GB, free: 7.316 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/0.5277, allocations: 0.7454 MB / 0.5837 GB, free: 6.562 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01065/0.5384, allocations: 4.195 MB / 0.5878 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.48e-05/0.5384, allocations: 55.44 kB / 0.5879 GB, free: 2.281 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 4.168e-06/0.5384, allocations: 0 / 0.5879 GB, free: 2.281 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.0274/0.5658, allocations: 5.83 MB / 0.5936 GB, free: 12.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.905e-05/0.5659, allocations: 98.41 kB / 0.5937 GB, free: 12.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/0.5674, allocations: 0.9722 MB / 0.5946 GB, free: 11.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002175/0.5676, allocations: 53.7 kB / 0.5947 GB, free: 11.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007016/0.5683, allocations: 0.8628 MB / 0.5955 GB, free: 10.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005756/0.5689, allocations: 0.5384 MB / 0.5961 GB, free: 9.789 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005424/0.5694, allocations: 375.5 kB / 0.5964 GB, free: 9.414 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.5695, allocations: 301.1 kB / 0.5967 GB, free: 9.117 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.5706, allocations: 0.5311 MB / 0.5972 GB, free: 8.582 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001677/0.5723, allocations: 1.243 MB / 0.5984 GB, free: 7 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.00313/0.5754, allocations: 1.977 MB / 0.6004 GB, free: 4.695 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.046e-05/0.5754, allocations: 12 kB / 0.6004 GB, free: 4.684 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008902/0.5843, allocations: 2.538 MB / 0.6029 GB, free: 2.125 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.664e-05/0.5844, allocations: 16 kB / 0.6029 GB, free: 2.109 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.883e-05/0.5844, allocations: 24 kB / 0.6029 GB, free: 2.086 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005527/0.59, allocations: 0.6901 MB / 0.6036 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002602/0.5926, allocations: 0.5343 MB / 0.6041 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01343/0.606, allocations: 7.78 MB / 0.6117 GB, free: 8.605 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/0.6078, allocations: 68 kB / 0.6117 GB, free: 8.539 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002207/0.608, allocations: 112 kB / 0.6119 GB, free: 8.43 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.0008187/0.6088, allocations: 373.1 kB / 0.6122 GB, free: 8.055 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003573/0.6092, allocations: 147.1 kB / 0.6124 GB, free: 7.91 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009092/0.6183, allocations: 2.478 MB / 0.6148 GB, free: 5.371 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.12e-05/0.6183, allocations: 16 kB / 0.6148 GB, free: 5.355 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/0.6183, allocations: 7.938 kB / 0.6148 GB, free: 5.348 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.276e-05/0.6183, allocations: 11.91 kB / 0.6148 GB, free: 5.336 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005794/0.6241, allocations: 2.306 MB / 0.6171 GB, free: 2.941 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/0.6241, allocations: 4 kB / 0.6171 GB, free: 2.938 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/0.6257, allocations: 311.9 kB / 0.6174 GB, free: 2.633 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006575/0.6323, allocations: 0.7532 MB / 0.6181 GB, free: 1.863 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002675/0.6325, allocations: 43.97 kB / 0.6181 GB, free: 1.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01352/0.6461, allocations: 8.881 MB / 0.6268 GB, free: 8.367 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/0.6461, allocations: 7.969 kB / 0.6268 GB, free: 8.359 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009714/0.6558, allocations: 2.812 MB / 0.6296 GB, free: 5.488 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000558/0.6563, allocations: 131 kB / 0.6297 GB, free: 5.359 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002598/0.6566, allocations: 28 kB / 0.6297 GB, free: 5.332 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008016/0.6574, allocations: 35.98 kB / 0.6297 GB, free: 5.297 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003979/0.6578, allocations: 137 kB / 0.6299 GB, free: 5.164 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001233/0.6579, allocations: 51.98 kB / 0.6299 GB, free: 5.113 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00104/0.659, allocations: 0.6303 MB / 0.6305 GB, free: 4.477 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.659, allocations: 0 / 0.6305 GB, free: 4.477 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003694/0.6627, allocations: 1.064 MB / 0.6316 GB, free: 3.41 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.01287/0.6755, allocations: 4.379 MB / 0.6359 GB, free: 14.95 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004189/0.6797, allocations: 1.991 MB / 0.6378 GB, free: 12.91 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.852e-06/0.6797, allocations: 320 / 0.6378 GB, free: 12.91 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00232/0.682, allocations: 1.309 MB / 0.6391 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/0.6839, allocations: 326.3 kB / 0.6394 GB, free: 11.23 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03121/0.7151, allocations: 13.61 MB / 0.6527 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008586/0.716, allocations: 0.6879 MB / 0.6534 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001395/0.7174, allocations: 327.8 kB / 0.6537 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/0.7184, allocations: 0.714 MB / 0.6544 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of SimCode: time 9.51e-07/0.7184, allocations: 0 / 0.6544 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1327/0.8511, allocations: 53.77 MB / 0.7069 GB, free: 5.629 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.23/16.08, allocations: 0 / 0.7069 GB, free: 5.629 MB / 0.545 GB " [Timeout remaining time 644] (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: 18.893852340057492] Failed to read output from testmodel.py, exit status != 0: 16.231041985098273 16.25951625 15.765460738 Calling exit ...