Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001365/0.001365, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.001423/0.001423, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.457/1.457, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.1465/0.1465, allocations: 23.85 MB / 332.7 MB, free: 12.33 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.AcidBase.WaterSelfIonization,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_AcidBase_WaterSelfIonization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization,fileNamePrefix="Chemical_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.001954/0.001954, allocations: 63.91 kB / 466 MB, free: 10.06 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3547, allocations: 59.82 MB / 0.5135 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.007829/0.3626, allocations: 8.472 MB / 0.5217 GB, free: 2.949 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03203/0.3946, allocations: 24.28 MB / 0.5455 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00218/0.3968, allocations: 29.44 kB / 0.5455 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002321/0.3991, allocations: 0.5055 MB / 0.546 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008194/0.4073, allocations: 2.174 MB / 0.5481 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01143/0.4187, allocations: 3.031 MB / 0.5511 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004683/0.4234, allocations: 2.449 MB / 0.5535 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001764/0.4252, allocations: 1.161 MB / 0.5546 GB, free: 11.51 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001832/0.427, allocations: 1.23 MB / 0.5558 GB, free: 10.94 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002181/0.4292, allocations: 1.357 MB / 0.5571 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004312/0.4296, allocations: 216 kB / 0.5573 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01112/0.4407, allocations: 2.689 MB / 0.5599 GB, free: 9.148 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000914/0.4417, allocations: 0.5121 MB / 0.5604 GB, free: 8.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001945/0.4436, allocations: 1.081 MB / 0.5615 GB, free: 8.004 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01534/0.4589, allocations: 5.253 MB / 0.5666 GB, free: 4.598 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.4589, allocations: 0 / 0.5666 GB, free: 4.598 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4589, allocations: 0 / 0.5666 GB, free: 4.598 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.135e-05/0.459, allocations: 0 / 0.5666 GB, free: 4.598 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.006686/0.4657, allocations: 2.714 MB / 0.5693 GB, free: 1.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.4657, allocations: 8.031 kB / 0.5693 GB, free: 1.812 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003591/0.4661, allocations: 249.5 kB / 0.5695 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001971/0.4681, allocations: 419 kB / 0.5699 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/0.4699, allocations: 0.9755 MB / 0.5709 GB, free: 132 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002006/0.4701, allocations: 187.5 kB / 0.5711 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003294/0.4704, allocations: 188.3 kB / 0.5712 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003818/0.4742, allocations: 2.081 MB / 0.5733 GB, free: 13.63 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.797e-05/0.4742, allocations: 4 kB / 0.5733 GB, free: 13.63 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000197/0.4744, allocations: 72 kB / 0.5733 GB, free: 13.56 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.792e-05/0.4745, allocations: 44 kB / 0.5734 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004544/0.479, allocations: 2.612 MB / 0.5759 GB, free: 10.9 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.01232/0.4913, allocations: 6.66 MB / 0.5824 GB, free: 3.961 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005319/0.4967, allocations: 3.032 MB / 0.5854 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001566/0.4982, allocations: 0.8314 MB / 0.5862 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01216/0.5104, allocations: 8.167 MB / 0.5942 GB, free: 6.875 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.926e-05/0.5104, allocations: 55.75 kB / 0.5942 GB, free: 6.812 MB / 446.1 MB Notification: Performance of pre-optimization done (n=144): time 3.115e-06/0.5104, allocations: 0 / 0.5942 GB, free: 6.812 MB / 446.1 MB Notification: Performance of matching and sorting (n=180): time 0.03215/0.5426, allocations: 7.03 MB / 0.6011 GB, free: 15.64 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.01e-05/0.5427, allocations: 103 kB / 0.6012 GB, free: 15.52 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.5438, allocations: 0.7846 MB / 0.602 GB, free: 14.71 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002403/0.544, allocations: 57.7 kB / 0.602 GB, free: 14.64 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005881/0.5446, allocations: 0.7507 MB / 0.6028 GB, free: 13.88 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006368/0.5453, allocations: 0.6391 MB / 0.6034 GB, free: 13.24 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006016/0.5459, allocations: 363.5 kB / 0.6037 GB, free: 12.88 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.546, allocations: 309.1 kB / 0.604 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/0.5472, allocations: 0.617 MB / 0.6046 GB, free: 11.95 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/0.5489, allocations: 1.133 MB / 0.6057 GB, free: 10.59 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003111/0.552, allocations: 1.925 MB / 0.6076 GB, free: 8.449 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/0.552, allocations: 4 kB / 0.6076 GB, free: 8.445 MB / 462.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008151/0.5602, allocations: 2.46 MB / 0.61 GB, free: 5.965 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.5602, allocations: 16.03 kB / 0.61 GB, free: 5.949 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.82e-05/0.5603, allocations: 16 kB / 0.6101 GB, free: 5.934 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004164/0.5644, allocations: 470.9 kB / 0.6105 GB, free: 5.461 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00289/0.5673, allocations: 0.5227 MB / 0.611 GB, free: 4.938 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01229/0.5796, allocations: 7.69 MB / 0.6185 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/0.5812, allocations: 63.98 kB / 0.6186 GB, free: 12.64 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002277/0.5814, allocations: 99.98 kB / 0.6187 GB, free: 12.54 MB / 478.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.0008034/0.5822, allocations: 377.2 kB / 0.619 GB, free: 12.16 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003859/0.5826, allocations: 139.1 kB / 0.6192 GB, free: 12.02 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008217/0.5908, allocations: 2.433 MB / 0.6215 GB, free: 9.578 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.699e-05/0.5908, allocations: 20 kB / 0.6216 GB, free: 9.559 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.5909, allocations: 0 / 0.6216 GB, free: 9.559 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-05/0.5909, allocations: 11.97 kB / 0.6216 GB, free: 9.547 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/0.6015, allocations: 4.078 MB / 0.6256 GB, free: 5.398 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/0.6015, allocations: 0 / 0.6256 GB, free: 5.398 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002247/0.6038, allocations: 383.5 kB / 0.6259 GB, free: 5.023 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003859/0.6076, allocations: 458.9 kB / 0.6264 GB, free: 4.562 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002246/0.6078, allocations: 51.98 kB / 0.6264 GB, free: 4.512 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01093/0.6188, allocations: 7.536 MB / 0.6338 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.6188, allocations: 0 / 0.6338 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009041/0.6278, allocations: 3.14 MB / 0.6368 GB, free: 9.254 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000464/0.6283, allocations: 204.1 kB / 0.637 GB, free: 9.035 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002099/0.6285, allocations: 43.92 kB / 0.6371 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008929/0.6294, allocations: 36 kB / 0.6371 GB, free: 8.957 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003891/0.6298, allocations: 141.8 kB / 0.6372 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001525/0.6299, allocations: 63.98 kB / 0.6373 GB, free: 8.758 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007192/0.6306, allocations: 0.504 MB / 0.6378 GB, free: 8.242 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6306, allocations: 0 / 0.6378 GB, free: 8.242 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003535/0.6342, allocations: 1.072 MB / 0.6388 GB, free: 7.168 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.01232/0.6465, allocations: 4.765 MB / 0.6435 GB, free: 2.363 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004662/0.6512, allocations: 2.147 MB / 0.6456 GB, free: 168 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.6512, allocations: 3.938 kB / 0.6456 GB, free: 164 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002462/0.6536, allocations: 1.299 MB / 0.6469 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/0.6554, allocations: 313.9 kB / 0.6472 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03034/0.6858, allocations: 13.14 MB / 0.66 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/0.6868, allocations: 1.277 MB / 0.6612 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001434/0.6882, allocations: 350.2 kB / 0.6616 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001218/0.6895, allocations: 0.7764 MB / 0.6623 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of SimCode: time 1.142e-06/0.6895, allocations: 0 / 0.6623 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1153/0.8047, allocations: 51.36 MB / 0.7125 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.28/23.08, allocations: 0 / 0.7125 GB, free: 11.29 MB / 0.5606 GB " [Timeout remaining time 637] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.sim & python3 -m fmpy simulate --output-file Chemical_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_Chemical_Obsolete_Examples_AcidBase_WaterSelfIonization.fmu > Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 78.43630616400333] Failed to read output from testmodel.py, exit status != 0: 23.21236492600292 23.447208178 22.767432834 Calling exit ...