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.001385/0.001385, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001657/0.001657, allocations: 214.5 kB / 22.24 MB, free: 5.258 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 7.777 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.16/0.16, allocations: 23.99 MB / 336.4 MB, free: 10.84 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.ExothermicReaction,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_ExothermicReaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ExothermicReaction,fileNamePrefix="Chemical_master_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.002109/0.002109, allocations: 71.89 kB / 471.3 MB, free: 7.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3359, allocations: 59.89 MB / 0.5187 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.008618/0.3445, allocations: 7.589 MB / 0.5261 GB, free: 4.414 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02679/0.3713, allocations: 20.52 MB / 0.5462 GB, free: 6.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001632/0.3729, allocations: 30.22 kB / 0.5462 GB, free: 6.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001532/0.3745, allocations: 476.8 kB / 0.5467 GB, free: 6.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007231/0.3817, allocations: 2.04 MB / 0.5487 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01043/0.3921, allocations: 3.059 MB / 0.5516 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004493/0.3966, allocations: 2.501 MB / 0.5541 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002108/0.3987, allocations: 1.128 MB / 0.5552 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002412/0.4012, allocations: 1.251 MB / 0.5564 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003306/0.4045, allocations: 1.24 MB / 0.5576 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009358/0.4054, allocations: 216.3 kB / 0.5578 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009989/0.4154, allocations: 2.466 MB / 0.5602 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001111/0.4165, allocations: 0.5072 MB / 0.5607 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002519/0.419, allocations: 0.9195 MB / 0.5616 GB, free: 13.49 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01669/0.4357, allocations: 5.187 MB / 0.5667 GB, free: 8.379 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.868e-06/0.4357, allocations: 0 / 0.5667 GB, free: 8.379 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.4357, allocations: 3.938 kB / 0.5667 GB, free: 8.375 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001491/0.4359, allocations: 0 / 0.5667 GB, free: 8.375 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.007166/0.443, allocations: 2.651 MB / 0.5693 GB, free: 5.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.4431, allocations: 8.031 kB / 0.5693 GB, free: 5.672 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005414/0.4436, allocations: 249.7 kB / 0.5695 GB, free: 5.418 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002195/0.4458, allocations: 431 kB / 0.5699 GB, free: 4.996 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002557/0.4484, allocations: 0.9059 MB / 0.5708 GB, free: 4.062 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002898/0.4487, allocations: 246.9 kB / 0.5711 GB, free: 3.797 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000514/0.4492, allocations: 188.3 kB / 0.5712 GB, free: 3.613 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004512/0.4537, allocations: 2.082 MB / 0.5733 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.712e-05/0.4537, allocations: 0 / 0.5733 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002301/0.454, allocations: 76 kB / 0.5733 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.851e-05/0.454, allocations: 40 kB / 0.5734 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004761/0.4588, allocations: 2.553 MB / 0.5759 GB, free: 14.83 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.01185/0.4706, allocations: 5.367 MB / 0.5811 GB, free: 9.348 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005427/0.4761, allocations: 2.155 MB / 0.5832 GB, free: 7.172 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001521/0.4776, allocations: 0.7376 MB / 0.5839 GB, free: 6.426 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01125/0.4888, allocations: 4.206 MB / 0.588 GB, free: 2.195 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.095e-05/0.4889, allocations: 51.5 kB / 0.5881 GB, free: 2.137 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 4.047e-06/0.4889, allocations: 0 / 0.5881 GB, free: 2.137 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.02853/0.5174, allocations: 5.833 MB / 0.5938 GB, free: 12.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.5175, allocations: 98.41 kB / 0.5939 GB, free: 12.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/0.519, allocations: 0.9761 MB / 0.5948 GB, free: 11.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002627/0.5192, allocations: 49.7 kB / 0.5949 GB, free: 11.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007776/0.52, allocations: 0.8628 MB / 0.5957 GB, free: 10.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007598/0.5208, allocations: 0.5345 MB / 0.5963 GB, free: 9.652 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006007/0.5214, allocations: 375.5 kB / 0.5966 GB, free: 9.277 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.5215, allocations: 305.1 kB / 0.5969 GB, free: 8.977 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.5226, allocations: 0.5311 MB / 0.5974 GB, free: 8.441 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/0.5244, allocations: 1.247 MB / 0.5986 GB, free: 6.855 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.003364/0.5277, allocations: 1.969 MB / 0.6006 GB, free: 4.559 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.051e-05/0.5277, allocations: 4 kB / 0.6006 GB, free: 4.555 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.00924/0.537, allocations: 2.534 MB / 0.603 GB, free: 2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.034e-05/0.537, allocations: 16 kB / 0.6031 GB, free: 1.984 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.55e-05/0.5371, allocations: 24 kB / 0.6031 GB, free: 1.961 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005732/0.5428, allocations: 0.7057 MB / 0.6038 GB, free: 1.242 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00241/0.5452, allocations: 0.5266 MB / 0.6043 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0132/0.5584, allocations: 7.781 MB / 0.6119 GB, free: 8.473 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/0.5601, allocations: 75.95 kB / 0.612 GB, free: 8.398 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002893/0.5604, allocations: 116 kB / 0.6121 GB, free: 8.285 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.0009424/0.5613, allocations: 377.1 kB / 0.6124 GB, free: 7.906 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004364/0.5618, allocations: 143.1 kB / 0.6126 GB, free: 7.766 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009119/0.5709, allocations: 2.474 MB / 0.615 GB, free: 5.23 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/0.5709, allocations: 12 kB / 0.615 GB, free: 5.219 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.58e-05/0.5709, allocations: 7.938 kB / 0.615 GB, free: 5.211 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.171e-05/0.571, allocations: 7.969 kB / 0.615 GB, free: 5.203 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005964/0.5769, allocations: 2.299 MB / 0.6172 GB, free: 2.816 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.5769, allocations: 4 kB / 0.6173 GB, free: 2.812 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/0.5784, allocations: 311.6 kB / 0.6175 GB, free: 2.508 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006688/0.5851, allocations: 0.7495 MB / 0.6183 GB, free: 1.742 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002129/0.5853, allocations: 47.97 kB / 0.6183 GB, free: 1.695 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01356/0.5989, allocations: 8.89 MB / 0.627 GB, free: 8.234 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/0.5989, allocations: 16 kB / 0.627 GB, free: 8.219 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009765/0.6087, allocations: 2.812 MB / 0.6298 GB, free: 5.348 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004252/0.6091, allocations: 131 kB / 0.6299 GB, free: 5.219 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002329/0.6093, allocations: 32 kB / 0.6299 GB, free: 5.188 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000823/0.6102, allocations: 35.98 kB / 0.63 GB, free: 5.152 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003355/0.6105, allocations: 129 kB / 0.6301 GB, free: 5.027 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/0.6106, allocations: 51.98 kB / 0.6301 GB, free: 4.977 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001039/0.6116, allocations: 0.6303 MB / 0.6307 GB, free: 4.34 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6116, allocations: 0 / 0.6307 GB, free: 4.34 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003861/0.6155, allocations: 1.068 MB / 0.6318 GB, free: 3.27 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.01206/0.6276, allocations: 4.379 MB / 0.6361 GB, free: 14.81 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004584/0.6322, allocations: 1.983 MB / 0.638 GB, free: 12.78 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/0.6322, allocations: 0 / 0.638 GB, free: 12.78 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002644/0.6348, allocations: 1.305 MB / 0.6393 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/0.6369, allocations: 322.6 kB / 0.6396 GB, free: 11.11 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03183/0.6688, allocations: 13.61 MB / 0.6529 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009086/0.6697, allocations: 0.6841 MB / 0.6535 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001417/0.6711, allocations: 327.8 kB / 0.6539 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/0.6722, allocations: 0.7101 MB / 0.6546 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of SimCode: time 9.92e-07/0.6722, allocations: 4 kB / 0.6546 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1178/0.79, allocations: 53.77 MB / 0.7071 GB, free: 5.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.48/16.27, allocations: 10.75 kB / 0.7071 GB, free: 5.492 MB / 0.545 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_ExothermicReaction_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_ExothermicReaction.fmu > Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.152351011987776] Failed to read output from testmodel.py, exit status != 0: 16.426856616977602 16.442795713 16.003577144 Calling exit ...