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.001305/0.001305, allocations: 106.4 kB / 18.94 MB, free: 2.957 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.001559/0.001559, allocations: 219 kB / 22.25 MB, free: 5.133 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.374/1.374, allocations: 230.6 MB / 256 MB, free: 8.023 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.1286/0.1286, allocations: 23.9 MB / 336.3 MB, free: 11.26 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.001977/0.001977, allocations: 71.89 kB / 471.2 MB, free: 7.652 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.293, allocations: 59.87 MB / 0.5187 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.007802/0.3008, allocations: 8.506 MB / 0.527 GB, free: 3.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02915/0.33, allocations: 24.34 MB / 0.5507 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001573/0.3316, allocations: 29.44 kB / 0.5508 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001622/0.3332, allocations: 0.5114 MB / 0.5513 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007253/0.3404, allocations: 2.185 MB / 0.5534 GB, free: 68 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009365/0.3498, allocations: 3.063 MB / 0.5564 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004099/0.3539, allocations: 2.448 MB / 0.5588 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001643/0.3555, allocations: 1.129 MB / 0.5599 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001846/0.3574, allocations: 1.234 MB / 0.5611 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002501/0.3599, allocations: 1.357 MB / 0.5624 GB, free: 10.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004241/0.3603, allocations: 215.6 kB / 0.5626 GB, free: 10.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009096/0.3694, allocations: 2.682 MB / 0.5652 GB, free: 9.359 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008587/0.3703, allocations: 0.523 MB / 0.5657 GB, free: 8.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001745/0.372, allocations: 1.079 MB / 0.5668 GB, free: 8.207 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01329/0.3853, allocations: 5.251 MB / 0.5719 GB, free: 3.301 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3853, allocations: 0 / 0.5719 GB, free: 3.301 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3853, allocations: 0 / 0.5719 GB, free: 3.301 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.95e-05/0.3854, allocations: 0 / 0.5719 GB, free: 3.301 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.005712/0.3911, allocations: 2.647 MB / 0.5745 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.3911, allocations: 12.03 kB / 0.5745 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002982/0.3914, allocations: 249.5 kB / 0.5748 GB, free: 352 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001814/0.3932, allocations: 422.9 kB / 0.5752 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/0.395, allocations: 0.906 MB / 0.5761 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002202/0.3953, allocations: 246.9 kB / 0.5763 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003161/0.3956, allocations: 180.3 kB / 0.5765 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003479/0.3991, allocations: 2.081 MB / 0.5785 GB, free: 12.44 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.752e-05/0.3991, allocations: 7.938 kB / 0.5785 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001725/0.3993, allocations: 72 kB / 0.5786 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.435e-05/0.3993, allocations: 44 kB / 0.5786 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004196/0.4035, allocations: 2.604 MB / 0.5812 GB, free: 9.715 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.01141/0.4149, allocations: 6.585 MB / 0.5876 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004638/0.4195, allocations: 2.576 MB / 0.5901 GB, free: 260 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/0.4209, allocations: 0.8314 MB / 0.5909 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0095/0.4304, allocations: 4.512 MB / 0.5953 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.4304, allocations: 47.81 kB / 0.5954 GB, free: 10.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=144): time 3.076e-06/0.4304, allocations: 0 / 0.5954 GB, free: 10.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=180): time 0.03035/0.4608, allocations: 6.735 MB / 0.6019 GB, free: 4.016 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.326e-05/0.4609, allocations: 95.11 kB / 0.602 GB, free: 3.902 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.462, allocations: 0.7885 MB / 0.6028 GB, free: 3.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002087/0.4622, allocations: 53.7 kB / 0.6029 GB, free: 3.031 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005919/0.4628, allocations: 0.7546 MB / 0.6036 GB, free: 2.266 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006177/0.4634, allocations: 0.6391 MB / 0.6042 GB, free: 1.621 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000568/0.464, allocations: 363.5 kB / 0.6046 GB, free: 1.258 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.4641, allocations: 309.1 kB / 0.6049 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/0.4653, allocations: 0.6208 MB / 0.6055 GB, free: 336 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001632/0.4669, allocations: 1.137 MB / 0.6066 GB, free: 14.96 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002899/0.4698, allocations: 1.913 MB / 0.6084 GB, free: 12.83 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.4698, allocations: 4 kB / 0.6084 GB, free: 12.83 MB / 462.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007661/0.4775, allocations: 2.476 MB / 0.6109 GB, free: 10.34 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/0.4775, allocations: 10.5 kB / 0.6109 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.43e-05/0.4776, allocations: 16 kB / 0.6109 GB, free: 10.31 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003985/0.4815, allocations: 479 kB / 0.6113 GB, free: 9.832 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002454/0.484, allocations: 0.5149 MB / 0.6118 GB, free: 9.316 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01102/0.495, allocations: 7.279 MB / 0.619 GB, free: 1.586 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.4964, allocations: 67.98 kB / 0.619 GB, free: 1.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/0.4966, allocations: 99.97 kB / 0.6191 GB, free: 1.422 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.000726/0.4973, allocations: 377.7 kB / 0.6195 GB, free: 1.043 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003317/0.4976, allocations: 139.1 kB / 0.6196 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007567/0.5052, allocations: 2.437 MB / 0.622 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.041e-05/0.5052, allocations: 24 kB / 0.622 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.5052, allocations: 0 / 0.622 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.058e-05/0.5052, allocations: 11.97 kB / 0.622 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01003/0.5153, allocations: 4.045 MB / 0.626 GB, free: 10.31 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.5153, allocations: 0 / 0.626 GB, free: 10.31 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001978/0.5173, allocations: 387.5 kB / 0.6263 GB, free: 9.934 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003747/0.521, allocations: 462.8 kB / 0.6268 GB, free: 9.469 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001883/0.5212, allocations: 51.98 kB / 0.6268 GB, free: 9.418 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009945/0.5311, allocations: 7.11 MB / 0.6338 GB, free: 1.852 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.5311, allocations: 0 / 0.6338 GB, free: 1.852 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008591/0.5397, allocations: 3.14 MB / 0.6368 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003409/0.5401, allocations: 123 kB / 0.637 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002169/0.5403, allocations: 35.94 kB / 0.637 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008463/0.5411, allocations: 40 kB / 0.637 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003394/0.5415, allocations: 149.7 kB / 0.6372 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/0.5416, allocations: 63.98 kB / 0.6372 GB, free: 14.28 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000696/0.5423, allocations: 0.5079 MB / 0.6377 GB, free: 13.76 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5423, allocations: 0 / 0.6377 GB, free: 13.76 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002986/0.5453, allocations: 1.075 MB / 0.6388 GB, free: 12.68 MB / 494.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.01067/0.556, allocations: 4.759 MB / 0.6434 GB, free: 7.879 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00376/0.5597, allocations: 2.144 MB / 0.6455 GB, free: 5.684 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5597, allocations: 4 kB / 0.6455 GB, free: 5.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002033/0.5618, allocations: 1.306 MB / 0.6468 GB, free: 4.328 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.5632, allocations: 310.2 kB / 0.6471 GB, free: 4.027 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02668/0.5899, allocations: 13.12 MB / 0.6599 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009613/0.5909, allocations: 1.284 MB / 0.6612 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001209/0.5921, allocations: 358 kB / 0.6615 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001087/0.5932, allocations: 0.7686 MB / 0.6623 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of SimCode: time 8.41e-07/0.5932, allocations: 4 kB / 0.6623 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1124/0.7055, allocations: 52.94 MB / 0.714 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.99/22.7, allocations: 9.969 kB / 0.714 GB, free: 15.24 MB / 0.5606 GB " [Timeout remaining time 637] (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 sys.exit(0), Time elapsed: 77.43604223700095] Failed to read output from testmodel.py, exit status != 0: 22.840374240004166 22.855841689 22.467195974 Calling exit ...