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.00146/0.00146, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.002128/0.002128, allocations: 211.1 kB / 22.24 MB, free: 5.117 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.517/1.517, allocations: 230.6 MB / 256 MB, free: 7.832 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.1426/0.1426, allocations: 24.01 MB / 336.4 MB, free: 10.86 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.003291/0.003291, allocations: 71.89 kB / 471.3 MB, free: 7.371 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3798, allocations: 59.89 MB / 0.5187 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.008955/0.3887, allocations: 7.592 MB / 0.5261 GB, free: 4.426 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03023/0.4189, allocations: 20.51 MB / 0.5462 GB, free: 6.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002136/0.4211, allocations: 27.25 kB / 0.5462 GB, free: 6.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002277/0.4234, allocations: 484.2 kB / 0.5467 GB, free: 6.156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008169/0.4315, allocations: 2.037 MB / 0.5487 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01006/0.4416, allocations: 3.057 MB / 0.5516 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004885/0.4465, allocations: 2.505 MB / 0.5541 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001868/0.4483, allocations: 1.132 MB / 0.5552 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002089/0.4504, allocations: 1.248 MB / 0.5564 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002628/0.4531, allocations: 1.232 MB / 0.5576 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004336/0.4535, allocations: 219.7 kB / 0.5578 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.011/0.4645, allocations: 2.471 MB / 0.5602 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008767/0.4654, allocations: 0.5102 MB / 0.5607 GB, free: 14.06 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001763/0.4671, allocations: 0.9196 MB / 0.5616 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01398/0.4811, allocations: 5.184 MB / 0.5667 GB, free: 8.359 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.737e-06/0.4811, allocations: 4 kB / 0.5667 GB, free: 8.355 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.4811, allocations: 0 / 0.5667 GB, free: 8.355 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.555e-05/0.4812, allocations: 0 / 0.5667 GB, free: 8.355 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.00579/0.487, allocations: 2.635 MB / 0.5693 GB, free: 5.676 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.487, allocations: 15.97 kB / 0.5693 GB, free: 5.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003076/0.4873, allocations: 253.7 kB / 0.5695 GB, free: 5.402 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001898/0.4892, allocations: 427 kB / 0.5699 GB, free: 4.984 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002007/0.4912, allocations: 0.9021 MB / 0.5708 GB, free: 4.055 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002433/0.4915, allocations: 246.9 kB / 0.5711 GB, free: 3.789 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003558/0.4918, allocations: 192.3 kB / 0.5712 GB, free: 3.602 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003695/0.4955, allocations: 2.082 MB / 0.5733 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.488e-05/0.4956, allocations: 11.94 kB / 0.5733 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00018/0.4958, allocations: 68 kB / 0.5733 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.16e-05/0.4958, allocations: 44 kB / 0.5734 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004288/0.5001, allocations: 2.553 MB / 0.5759 GB, free: 14.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.01118/0.5113, allocations: 5.363 MB / 0.5811 GB, free: 9.336 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005192/0.5165, allocations: 2.149 MB / 0.5832 GB, free: 7.168 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/0.5179, allocations: 0.7493 MB / 0.5839 GB, free: 6.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01012/0.528, allocations: 4.206 MB / 0.5881 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/0.528, allocations: 43.56 kB / 0.5881 GB, free: 2.129 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 4.548e-06/0.528, allocations: 0 / 0.5881 GB, free: 2.129 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.02762/0.5556, allocations: 5.827 MB / 0.5938 GB, free: 12.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.242e-05/0.5557, allocations: 98.36 kB / 0.5939 GB, free: 12.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/0.5574, allocations: 0.98 MB / 0.5948 GB, free: 11.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002674/0.5576, allocations: 53.7 kB / 0.5949 GB, free: 11.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007319/0.5583, allocations: 0.8629 MB / 0.5957 GB, free: 10.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006418/0.559, allocations: 0.5384 MB / 0.5963 GB, free: 9.637 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005597/0.5596, allocations: 375.5 kB / 0.5966 GB, free: 9.262 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.5597, allocations: 301.1 kB / 0.5969 GB, free: 8.965 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009771/0.5607, allocations: 0.5349 MB / 0.5974 GB, free: 8.426 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001722/0.5624, allocations: 1.236 MB / 0.5986 GB, free: 6.852 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.003085/0.5655, allocations: 1.973 MB / 0.6006 GB, free: 4.551 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.481e-05/0.5655, allocations: 12 kB / 0.6006 GB, free: 4.539 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008261/0.5737, allocations: 2.534 MB / 0.603 GB, free: 1.984 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.873e-05/0.5738, allocations: 22.62 kB / 0.6031 GB, free: 1.965 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.27e-05/0.5738, allocations: 20 kB / 0.6031 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005444/0.5793, allocations: 0.7056 MB / 0.6038 GB, free: 1.227 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002118/0.5814, allocations: 0.5188 MB / 0.6043 GB, free: 0.707 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0127/0.5941, allocations: 7.784 MB / 0.6119 GB, free: 8.461 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/0.5956, allocations: 75.98 kB / 0.612 GB, free: 8.387 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002026/0.5958, allocations: 116 kB / 0.6121 GB, free: 8.273 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.0007457/0.5965, allocations: 373.1 kB / 0.6124 GB, free: 7.898 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003323/0.5969, allocations: 147.1 kB / 0.6126 GB, free: 7.754 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008719/0.6056, allocations: 2.474 MB / 0.615 GB, free: 5.219 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/0.6056, allocations: 16 kB / 0.615 GB, free: 5.203 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.6056, allocations: 7.938 kB / 0.615 GB, free: 5.195 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.146e-05/0.6056, allocations: 7.969 kB / 0.615 GB, free: 5.188 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005407/0.611, allocations: 2.294 MB / 0.6172 GB, free: 2.805 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/0.6111, allocations: 4 kB / 0.6173 GB, free: 2.801 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001458/0.6125, allocations: 312 kB / 0.6175 GB, free: 2.496 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006409/0.6189, allocations: 0.7532 MB / 0.6183 GB, free: 1.727 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001421/0.6191, allocations: 43.98 kB / 0.6183 GB, free: 1.684 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01281/0.6319, allocations: 8.89 MB / 0.627 GB, free: 8.223 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.6319, allocations: 7.969 kB / 0.627 GB, free: 8.215 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009434/0.6413, allocations: 2.812 MB / 0.6298 GB, free: 5.344 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004279/0.6417, allocations: 135 kB / 0.6299 GB, free: 5.211 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002257/0.642, allocations: 32 kB / 0.6299 GB, free: 5.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008008/0.6428, allocations: 28 kB / 0.6299 GB, free: 5.152 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003139/0.6431, allocations: 140.9 kB / 0.6301 GB, free: 5.016 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.6432, allocations: 51.98 kB / 0.6301 GB, free: 4.965 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009356/0.6441, allocations: 0.6303 MB / 0.6307 GB, free: 4.328 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6441, allocations: 0 / 0.6307 GB, free: 4.328 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003443/0.6476, allocations: 1.06 MB / 0.6318 GB, free: 3.266 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.01211/0.6597, allocations: 4.378 MB / 0.6361 GB, free: 14.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004274/0.664, 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.959e-06/0.664, allocations: 0 / 0.638 GB, free: 12.78 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002659/0.6666, allocations: 1.313 MB / 0.6393 GB, free: 11.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/0.6687, allocations: 324 kB / 0.6396 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03047/0.6992, allocations: 13.6 MB / 0.6529 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007885/0.7, allocations: 0.6841 MB / 0.6535 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001276/0.7013, allocations: 327.8 kB / 0.6538 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000985/0.7022, allocations: 0.7218 MB / 0.6546 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of SimCode: time 1.012e-06/0.7022, allocations: 0 / 0.6546 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1181/0.8203, allocations: 53.78 MB / 0.7071 GB, free: 5.477 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.62/16.44, allocations: 6.859 kB / 0.7071 GB, free: 5.473 MB / 0.545 GB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file Chemical_master_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_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.450869183056056] Failed to read output from testmodel.py, exit status != 0: 16.60848894994706 16.636712424 16.150199315 Calling exit ...