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.001558/0.001558, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001789/0.001789, allocations: 218.9 kB / 22.25 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.455/1.455, 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.1392/0.1392, allocations: 23.88 MB / 336.3 MB, free: 10.97 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.001949/0.001949, allocations: 63.91 kB / 471.1 MB, free: 7.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3541, allocations: 59.85 MB / 0.5185 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.009014/0.3631, allocations: 7.605 MB / 0.5259 GB, free: 4.508 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02614/0.3893, allocations: 20.51 MB / 0.546 GB, free: 6.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001519/0.3908, allocations: 34.56 kB / 0.546 GB, free: 6.496 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001461/0.3923, allocations: 476.5 kB / 0.5465 GB, free: 6.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006455/0.3987, allocations: 2.045 MB / 0.5485 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01098/0.4097, allocations: 3.056 MB / 0.5514 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005081/0.4148, allocations: 2.501 MB / 0.5539 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001815/0.4166, allocations: 1.159 MB / 0.555 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00193/0.4185, allocations: 1.248 MB / 0.5562 GB, free: 72 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002283/0.4208, allocations: 1.381 MB / 0.5576 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004215/0.4212, allocations: 220.1 kB / 0.5578 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01048/0.4317, allocations: 2.529 MB / 0.5603 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001234/0.4329, allocations: 0.5107 MB / 0.5608 GB, free: 13.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001812/0.4348, allocations: 0.9202 MB / 0.5617 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01345/0.4482, allocations: 5.18 MB / 0.5667 GB, free: 8.336 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.4482, allocations: 7.875 kB / 0.5667 GB, free: 8.328 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4482, allocations: 0 / 0.5667 GB, free: 8.328 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.104e-05/0.4482, allocations: 0 / 0.5667 GB, free: 8.328 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.004965/0.4532, allocations: 2.639 MB / 0.5693 GB, free: 5.645 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.4533, allocations: 8.031 kB / 0.5693 GB, free: 5.637 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002995/0.4536, allocations: 253.7 kB / 0.5696 GB, free: 5.379 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001752/0.4553, allocations: 430.9 kB / 0.57 GB, free: 4.957 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/0.4571, allocations: 0.906 MB / 0.5708 GB, free: 4.023 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001988/0.4573, allocations: 243 kB / 0.5711 GB, free: 3.762 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002997/0.4576, allocations: 188.3 kB / 0.5713 GB, free: 3.578 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003282/0.4608, allocations: 2.086 MB / 0.5733 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.553e-05/0.4609, allocations: 0 / 0.5733 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000167/0.461, allocations: 72 kB / 0.5734 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.735e-05/0.4611, allocations: 44 kB / 0.5734 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004026/0.4651, allocations: 2.557 MB / 0.5759 GB, free: 14.79 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.01017/0.4753, allocations: 5.363 MB / 0.5811 GB, free: 9.309 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004816/0.4801, allocations: 2.161 MB / 0.5833 GB, free: 7.125 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001257/0.4813, allocations: 0.7454 MB / 0.584 GB, free: 6.375 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009696/0.491, allocations: 4.198 MB / 0.5881 GB, free: 2.152 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.4911, allocations: 51.55 kB / 0.5881 GB, free: 2.094 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 3.266e-06/0.4911, allocations: 4 kB / 0.5881 GB, free: 2.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.02478/0.5159, allocations: 5.827 MB / 0.5938 GB, free: 12.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.428e-05/0.5159, allocations: 94.42 kB / 0.5939 GB, free: 12.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/0.5172, allocations: 0.9761 MB / 0.5949 GB, free: 11.08 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001108/0.5174, allocations: 53.7 kB / 0.5949 GB, free: 11.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006365/0.518, allocations: 0.8589 MB / 0.5958 GB, free: 10.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004834/0.5185, allocations: 0.5423 MB / 0.5963 GB, free: 9.605 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005101/0.519, allocations: 371.5 kB / 0.5966 GB, free: 9.234 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.5191, allocations: 305.1 kB / 0.5969 GB, free: 8.934 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.5201, allocations: 0.5272 MB / 0.5974 GB, free: 8.402 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/0.5217, allocations: 1.239 MB / 0.5987 GB, free: 6.824 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.002904/0.5246, allocations: 1.981 MB / 0.6006 GB, free: 4.516 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-05/0.5246, allocations: 8 kB / 0.6006 GB, free: 4.508 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007686/0.5323, allocations: 2.538 MB / 0.6031 GB, free: 1.949 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.211e-05/0.5323, allocations: 12 kB / 0.6031 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.21e-05/0.5323, allocations: 24 kB / 0.6031 GB, free: 1.914 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005106/0.5375, allocations: 0.7019 MB / 0.6038 GB, free: 1.199 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002247/0.5397, allocations: 0.5227 MB / 0.6043 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01209/0.5518, allocations: 7.783 MB / 0.6119 GB, free: 8.434 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/0.5532, allocations: 72.03 kB / 0.612 GB, free: 8.363 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001925/0.5534, allocations: 108 kB / 0.6121 GB, free: 8.258 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.0007407/0.5541, allocations: 381.1 kB / 0.6124 GB, free: 7.875 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003541/0.5545, allocations: 147.1 kB / 0.6126 GB, free: 7.73 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008075/0.5625, allocations: 2.474 MB / 0.615 GB, free: 5.195 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/0.5626, allocations: 16.14 kB / 0.615 GB, free: 5.18 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.5626, allocations: 11.92 kB / 0.615 GB, free: 5.168 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.837e-05/0.5626, allocations: 7.969 kB / 0.615 GB, free: 5.16 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005085/0.5677, allocations: 2.302 MB / 0.6173 GB, free: 2.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.5677, allocations: 320 / 0.6173 GB, free: 2.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00143/0.5691, allocations: 311.6 kB / 0.6176 GB, free: 2.465 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005931/0.575, allocations: 0.7649 MB / 0.6183 GB, free: 1.684 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/0.5752, allocations: 39.98 kB / 0.6184 GB, free: 1.645 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01212/0.5873, allocations: 8.878 MB / 0.627 GB, free: 8.195 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.784e-06/0.5873, allocations: 7.938 kB / 0.627 GB, free: 8.188 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008597/0.5959, allocations: 2.816 MB / 0.6298 GB, free: 5.312 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004206/0.5963, allocations: 135 kB / 0.6299 GB, free: 5.18 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002012/0.5965, allocations: 28 kB / 0.6299 GB, free: 5.152 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007381/0.5973, allocations: 32 kB / 0.63 GB, free: 5.121 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003568/0.5976, allocations: 136.9 kB / 0.6301 GB, free: 4.988 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/0.5977, allocations: 51.98 kB / 0.6302 GB, free: 4.938 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001007/0.5987, allocations: 0.6303 MB / 0.6308 GB, free: 4.301 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5987, allocations: 0 / 0.6308 GB, free: 4.301 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003473/0.6022, allocations: 1.068 MB / 0.6318 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.01113/0.6133, allocations: 4.379 MB / 0.6361 GB, free: 14.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003766/0.6171, allocations: 1.991 MB / 0.638 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.6171, allocations: 0 / 0.638 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002037/0.6191, allocations: 1.294 MB / 0.6393 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/0.6207, allocations: 329.9 kB / 0.6396 GB, free: 11.06 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02702/0.6477, allocations: 13.6 MB / 0.6529 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008262/0.6486, allocations: 0.6841 MB / 0.6536 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001201/0.6498, allocations: 331.8 kB / 0.6539 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009662/0.6507, allocations: 0.7218 MB / 0.6546 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of SimCode: time 1.412e-06/0.6507, allocations: 0 / 0.6546 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1146/0.7653, allocations: 54.35 MB / 0.7077 GB, free: 4.867 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.51/15.28, allocations: 7.125 kB / 0.7077 GB, free: 4.863 MB / 0.545 GB " [Timeout remaining time 645] (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 & python3 -m fmpy simulate --output-file Chemical_Chemical.Obsolete.Examples.ExothermicReaction_res.csv --start-time 0 --stop-time 0.001 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-07 Chemical_Chemical_Obsolete_Examples_ExothermicReaction.fmu > Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.119333426991943] Failed to read output from testmodel.py, exit status != 0: 15.429282166995108 15.454523628 15.001436451 Calling exit ...