Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.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.001382/0.001382, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001575/0.001575, allocations: 214.6 kB / 22.25 MB, free: 5.246 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.789 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.1469/0.1469, allocations: 23.99 MB / 336.4 MB, free: 10.85 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.AcidBase.WaterSelfIonization,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_AcidBase_WaterSelfIonization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_AcidBase_WaterSelfIonization",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.002272/0.002272, allocations: 71.89 kB / 471.3 MB, free: 7.344 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3338, allocations: 59.89 MB / 0.5187 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.007568/0.3413, allocations: 7.449 MB / 0.526 GB, free: 4.812 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02809/0.3694, allocations: 21.31 MB / 0.5468 GB, free: 6.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001461/0.3709, allocations: 29.5 kB / 0.5468 GB, free: 6.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001705/0.3726, allocations: 480.6 kB / 0.5473 GB, free: 6.016 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007344/0.3799, allocations: 2.15 MB / 0.5494 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0108/0.3908, allocations: 3.068 MB / 0.5524 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004889/0.3956, allocations: 2.438 MB / 0.5548 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002262/0.3979, allocations: 1.115 MB / 0.5559 GB, free: 300 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002632/0.4005, allocations: 1.23 MB / 0.5571 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002974/0.4035, allocations: 1.228 MB / 0.5583 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007697/0.4043, allocations: 215.6 kB / 0.5585 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009133/0.4134, allocations: 2.525 MB / 0.5609 GB, free: 14.22 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009793/0.4144, allocations: 0.5087 MB / 0.5614 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002191/0.4166, allocations: 0.9176 MB / 0.5623 GB, free: 12.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01526/0.4318, allocations: 5.233 MB / 0.5674 GB, free: 7.719 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.4318, allocations: 0 / 0.5674 GB, free: 7.719 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4318, allocations: 0 / 0.5674 GB, free: 7.719 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.372e-05/0.4319, allocations: 0 / 0.5674 GB, free: 7.719 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: 446 * Number of variables: 446 Notification: Performance of Generate backend data structure: time 0.007095/0.439, allocations: 2.639 MB / 0.57 GB, free: 5.035 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/0.4391, allocations: 12.03 kB / 0.57 GB, free: 5.023 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006558/0.4397, allocations: 253.5 kB / 0.5703 GB, free: 4.766 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002335/0.4421, allocations: 423 kB / 0.5707 GB, free: 4.352 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002365/0.4444, allocations: 0.9021 MB / 0.5716 GB, free: 3.422 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002691/0.4447, allocations: 242.9 kB / 0.5718 GB, free: 3.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005653/0.4453, allocations: 192.2 kB / 0.572 GB, free: 2.973 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004753/0.45, allocations: 2.092 MB / 0.574 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.19e-05/0.4501, allocations: 0 / 0.574 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002198/0.4503, allocations: 68 kB / 0.5741 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.729e-05/0.4503, allocations: 44 kB / 0.5741 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004995/0.4553, allocations: 2.58 MB / 0.5766 GB, free: 14.16 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.01264/0.468, allocations: 5.453 MB / 0.582 GB, free: 8.582 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005066/0.473, allocations: 2.524 MB / 0.5844 GB, free: 6.047 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001537/0.4746, allocations: 0.8392 MB / 0.5853 GB, free: 5.199 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01041/0.485, allocations: 4.254 MB / 0.5894 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.984e-05/0.485, allocations: 59.75 kB / 0.5895 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of pre-optimization done (n=144): time 4.308e-06/0.485, allocations: 0 / 0.5895 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of matching and sorting (n=180): time 0.03212/0.5172, allocations: 6.73 MB / 0.596 GB, free: 10.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.835e-05/0.5173, allocations: 95.11 kB / 0.5961 GB, free: 9.941 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.5185, allocations: 0.8194 MB / 0.5969 GB, free: 9.098 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002907/0.5188, allocations: 53.7 kB / 0.597 GB, free: 9.039 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00069/0.5195, allocations: 0.7546 MB / 0.5977 GB, free: 8.273 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008144/0.5203, allocations: 0.643 MB / 0.5983 GB, free: 7.625 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008703/0.5212, allocations: 363.5 kB / 0.5987 GB, free: 7.262 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.5213, allocations: 313 kB / 0.599 GB, free: 6.953 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001401/0.5227, allocations: 0.617 MB / 0.5996 GB, free: 6.332 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001846/0.5246, allocations: 1.129 MB / 0.6007 GB, free: 4.977 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003195/0.5278, allocations: 1.913 MB / 0.6026 GB, free: 2.848 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.464e-05/0.5278, allocations: 4 kB / 0.6026 GB, free: 2.844 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007913/0.5357, allocations: 2.48 MB / 0.605 GB, free: 352 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.933e-05/0.5357, allocations: 12 kB / 0.605 GB, free: 340 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-05/0.5358, allocations: 12 kB / 0.605 GB, free: 328 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003824/0.5396, allocations: 475.2 kB / 0.6055 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00254/0.5421, allocations: 0.5227 MB / 0.606 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01159/0.5537, allocations: 7.22 MB / 0.613 GB, free: 7.648 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.5552, allocations: 60 kB / 0.6131 GB, free: 7.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003315/0.5555, allocations: 104 kB / 0.6132 GB, free: 7.488 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (246): * Single equations (assignments): 242 * 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 {(1,3,100.0%), (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.0009604/0.5565, allocations: 377.2 kB / 0.6135 GB, free: 7.109 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005146/0.557, allocations: 139.1 kB / 0.6137 GB, free: 6.973 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008168/0.5652, allocations: 2.437 MB / 0.6161 GB, free: 4.523 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.216e-05/0.5652, allocations: 16 kB / 0.6161 GB, free: 4.508 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.497e-05/0.5652, allocations: 7.984 kB / 0.6161 GB, free: 4.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-05/0.5652, allocations: 7.969 kB / 0.6161 GB, free: 4.492 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/0.5755, allocations: 3.811 MB / 0.6198 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.5755, allocations: 0 / 0.6198 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002148/0.5777, allocations: 387.5 kB / 0.6202 GB, free: 244 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003766/0.5814, allocations: 450.9 kB / 0.6206 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002256/0.5816, allocations: 59.97 kB / 0.6207 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01054/0.5922, allocations: 7.044 MB / 0.6275 GB, free: 8.227 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.5922, allocations: 0 / 0.6275 GB, free: 8.227 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008897/0.6011, allocations: 3.14 MB / 0.6306 GB, free: 5.059 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003707/0.6015, allocations: 123 kB / 0.6307 GB, free: 4.938 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002701/0.6017, allocations: 43.88 kB / 0.6308 GB, free: 4.895 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000949/0.6027, allocations: 35.98 kB / 0.6308 GB, free: 4.859 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003307/0.603, allocations: 145.7 kB / 0.6309 GB, free: 4.715 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/0.6032, allocations: 67.97 kB / 0.631 GB, free: 4.648 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007652/0.6039, allocations: 0.5001 MB / 0.6315 GB, free: 4.137 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6039, allocations: 3.938 kB / 0.6315 GB, free: 4.133 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003203/0.6071, allocations: 1.075 MB / 0.6326 GB, free: 3.055 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (solution.temperature,H3O.logn,OH.logn,H2O.logn,solution1.temperature,H_.logn,OH_.logn,H2O_.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 (178): * Single equations (assignments): 174 * 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 {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01127/0.6184, allocations: 4.767 MB / 0.6372 GB, free: 14.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004088/0.6225, allocations: 2.14 MB / 0.6393 GB, free: 12.06 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.6225, allocations: 4 kB / 0.6393 GB, free: 12.05 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002173/0.6247, allocations: 1.299 MB / 0.6406 GB, free: 10.71 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/0.6263, allocations: 296 kB / 0.6409 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0285/0.6548, allocations: 13.14 MB / 0.6537 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000879/0.6556, allocations: 0.6931 MB / 0.6544 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001362/0.657, allocations: 361.8 kB / 0.6547 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/0.6582, allocations: 0.7686 MB / 0.6555 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of SimCode: time 7.71e-07/0.6582, allocations: 0 / 0.6555 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1197/0.7778, allocations: 53.41 MB / 0.7076 GB, free: 5.84 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.51/16.28, allocations: 10.5 kB / 0.7076 GB, free: 5.832 MB / 0.545 GB " [Timeout remaining time 644] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.sim & python3 -m fmpy simulate --output-file Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Chemical_master_Chemical_Obsolete_Examples_AcidBase_WaterSelfIonization.fmu > Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.165796576999128] Failed to read output from testmodel.py, exit status != 0: 16.442815243266523 16.467968989 16.031398586 Calling exit ...