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.001498/0.001498, allocations: 111 kB / 16.46 MB, free: 6.453 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.001686/0.001686, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.565/1.565, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.1446/0.1446, allocations: 23.85 MB / 332.7 MB, free: 12.35 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.002277/0.002277, allocations: 63.89 kB / 466 MB, free: 10.1 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3565, allocations: 59.82 MB / 0.5135 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.009094/0.3655, allocations: 8.64 MB / 0.5219 GB, free: 2.883 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03274/0.3983, allocations: 23.36 MB / 0.5447 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001878/0.4002, allocations: 29.84 kB / 0.5447 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002127/0.4023, allocations: 0.5201 MB / 0.5453 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008151/0.4104, allocations: 2.029 MB / 0.5472 GB, free: 240 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01029/0.4207, allocations: 3.023 MB / 0.5502 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004824/0.4256, allocations: 2.516 MB / 0.5526 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002123/0.4277, allocations: 1.168 MB / 0.5538 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002215/0.4299, allocations: 1.247 MB / 0.555 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002678/0.4326, allocations: 1.369 MB / 0.5563 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004977/0.4331, allocations: 215.6 kB / 0.5565 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01105/0.4441, allocations: 2.635 MB / 0.5591 GB, free: 9.785 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001135/0.4453, allocations: 0.5078 MB / 0.5596 GB, free: 9.371 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002287/0.4475, allocations: 1.09 MB / 0.5607 GB, free: 8.641 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01471/0.4623, allocations: 5.192 MB / 0.5657 GB, free: 5.363 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.4623, allocations: 0 / 0.5657 GB, free: 5.363 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4623, allocations: 0 / 0.5657 GB, free: 5.363 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.783e-05/0.4624, allocations: 4.844 kB / 0.5658 GB, free: 5.359 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.007017/0.4694, allocations: 2.726 MB / 0.5684 GB, free: 2.715 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.4694, allocations: 12.03 kB / 0.5684 GB, free: 2.703 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003777/0.4698, allocations: 249.7 kB / 0.5687 GB, free: 2.449 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002106/0.4719, allocations: 434.9 kB / 0.5691 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002062/0.474, allocations: 0.9638 MB / 0.57 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000211/0.4742, allocations: 199.5 kB / 0.5702 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004172/0.4746, allocations: 180.3 kB / 0.5704 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004404/0.479, allocations: 2.089 MB / 0.5724 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.846e-05/0.479, allocations: 0 / 0.5724 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002086/0.4792, allocations: 72 kB / 0.5725 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.72e-05/0.4793, allocations: 44 kB / 0.5725 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005004/0.4843, allocations: 2.584 MB / 0.5751 GB, free: 11.81 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.01296/0.4973, allocations: 6.363 MB / 0.5813 GB, free: 5.227 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005683/0.5029, allocations: 2.41 MB / 0.5836 GB, free: 2.742 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001566/0.5045, allocations: 0.7458 MB / 0.5844 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01261/0.5171, allocations: 8.093 MB / 0.5923 GB, free: 8.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.5172, allocations: 47.62 kB / 0.5923 GB, free: 8.926 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 3.367e-06/0.5172, allocations: 4 kB / 0.5923 GB, free: 8.922 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.03084/0.548, allocations: 6.197 MB / 0.5984 GB, free: 2.562 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.512e-05/0.5481, allocations: 94.42 kB / 0.5984 GB, free: 2.453 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/0.5494, allocations: 0.9414 MB / 0.5994 GB, free: 1.496 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002148/0.5497, allocations: 53.64 kB / 0.5994 GB, free: 1.438 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009182/0.5506, allocations: 0.8668 MB / 0.6003 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008134/0.5514, allocations: 0.5384 MB / 0.6008 GB, free: 16 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008706/0.5523, allocations: 371.5 kB / 0.6011 GB, free: 15.64 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.5524, allocations: 301.1 kB / 0.6014 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/0.5541, allocations: 0.5311 MB / 0.602 GB, free: 14.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002536/0.5567, allocations: 1.247 MB / 0.6032 GB, free: 13.21 MB / 462.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.004705/0.5614, allocations: 2.048 MB / 0.6052 GB, free: 10.81 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-05/0.5614, allocations: 8 kB / 0.6052 GB, free: 10.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.01341/0.5748, allocations: 2.538 MB / 0.6077 GB, free: 8.254 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.886e-05/0.5749, allocations: 16 kB / 0.6077 GB, free: 8.238 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.044e-05/0.5749, allocations: 24 kB / 0.6077 GB, free: 8.215 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008793/0.5837, allocations: 0.698 MB / 0.6084 GB, free: 7.504 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003785/0.5875, allocations: 0.5304 MB / 0.6089 GB, free: 6.973 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0203/0.6078, allocations: 8.276 MB / 0.617 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002654/0.6104, allocations: 71.95 kB / 0.617 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005161/0.611, allocations: 112 kB / 0.6172 GB, free: 13.96 MB / 478.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.001439/0.6124, allocations: 381.1 kB / 0.6175 GB, free: 13.57 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007657/0.6132, allocations: 147.1 kB / 0.6177 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0146/0.6278, allocations: 2.46 MB / 0.6201 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.518e-05/0.6278, allocations: 16 kB / 0.6201 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.641e-05/0.6278, allocations: 7.938 kB / 0.6201 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.872e-05/0.6278, allocations: 7.984 kB / 0.6201 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006582/0.6344, allocations: 2.546 MB / 0.6226 GB, free: 8.242 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.778e-05/0.6344, allocations: 4 kB / 0.6226 GB, free: 8.238 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001631/0.6361, allocations: 307.6 kB / 0.6229 GB, free: 7.938 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006991/0.6431, allocations: 0.7571 MB / 0.6236 GB, free: 7.164 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002569/0.6433, allocations: 39.98 kB / 0.6236 GB, free: 7.125 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01414/0.6575, allocations: 9.504 MB / 0.6329 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/0.6575, allocations: 7.969 kB / 0.6329 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009921/0.6674, allocations: 2.804 MB / 0.6357 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005937/0.668, allocations: 204.2 kB / 0.6359 GB, free: 9.824 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002628/0.6683, allocations: 32 kB / 0.6359 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008679/0.6691, allocations: 35.98 kB / 0.6359 GB, free: 9.758 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003744/0.6695, allocations: 132.9 kB / 0.6361 GB, free: 9.629 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/0.6696, allocations: 51.98 kB / 0.6361 GB, free: 9.578 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009797/0.6706, allocations: 0.6342 MB / 0.6367 GB, free: 8.938 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6706, allocations: 0 / 0.6367 GB, free: 8.938 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0039/0.6745, allocations: 1.064 MB / 0.6378 GB, free: 7.871 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.01275/0.6872, allocations: 4.381 MB / 0.642 GB, free: 3.41 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004529/0.6918, allocations: 1.998 MB / 0.644 GB, free: 1.367 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.6918, allocations: 0 / 0.644 GB, free: 1.367 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00252/0.6943, allocations: 1.293 MB / 0.6453 GB, free: 8 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/0.6964, allocations: 326.8 kB / 0.6456 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03263/0.729, allocations: 13.6 MB / 0.6589 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/0.7301, allocations: 1.268 MB / 0.6601 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00134/0.7314, allocations: 331.8 kB / 0.6604 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/0.7325, allocations: 0.7178 MB / 0.6611 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of SimCode: time 1.072e-06/0.7325, allocations: 0 / 0.6611 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1253/0.8578, allocations: 51.53 MB / 0.7114 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.88/17.74, allocations: 2.719 kB / 0.7114 GB, free: 11.63 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: 20.92639201390557] Failed to read output from testmodel.py, exit status != 0: 17.87391990981996 18.084591766 17.425226283 Calling exit ...