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.001218/0.001218, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001372/0.001372, allocations: 219.7 kB / 22.26 MB, free: 5.125 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.336/1.336, allocations: 230.6 MB / 256 MB, free: 7.992 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.1315/0.1315, allocations: 23.85 MB / 336.3 MB, free: 11.2 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.00193/0.00193, allocations: 63.91 kB / 471.2 MB, free: 7.703 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.291, allocations: 59.87 MB / 0.5186 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.007395/0.2984, allocations: 8.503 MB / 0.5269 GB, free: 3.562 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02923/0.3276, allocations: 24.33 MB / 0.5507 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001698/0.3293, allocations: 29.34 kB / 0.5507 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001832/0.3312, allocations: 0.521 MB / 0.5512 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007152/0.3383, allocations: 2.181 MB / 0.5533 GB, free: 180 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008906/0.3472, allocations: 3.061 MB / 0.5563 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004168/0.3514, allocations: 2.443 MB / 0.5587 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00185/0.3533, allocations: 1.137 MB / 0.5598 GB, free: 11.82 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002154/0.3554, allocations: 1.231 MB / 0.561 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00272/0.3581, allocations: 1.365 MB / 0.5623 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005642/0.3587, allocations: 215.9 kB / 0.5626 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009701/0.3684, allocations: 2.688 MB / 0.5652 GB, free: 9.449 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009201/0.3693, allocations: 0.5163 MB / 0.5657 GB, free: 9.027 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001903/0.3712, allocations: 1.074 MB / 0.5667 GB, free: 8.309 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01301/0.3842, allocations: 5.248 MB / 0.5719 GB, free: 3.371 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3842, allocations: 0 / 0.5719 GB, free: 3.371 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3842, allocations: 0 / 0.5719 GB, free: 3.371 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.629e-05/0.3843, allocations: 0 / 0.5719 GB, free: 3.371 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.005706/0.39, allocations: 2.651 MB / 0.5744 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.39, allocations: 8.031 kB / 0.5744 GB, free: 0.668 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000321/0.3904, allocations: 249.5 kB / 0.5747 GB, free: 424 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/0.3922, allocations: 419 kB / 0.5751 GB, free: 4 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001906/0.3941, allocations: 0.9099 MB / 0.576 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002268/0.3943, allocations: 242.9 kB / 0.5762 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003624/0.3947, allocations: 184.3 kB / 0.5764 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003778/0.3985, allocations: 2.088 MB / 0.5784 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.524e-05/0.3985, allocations: 0 / 0.5784 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001761/0.3987, allocations: 72 kB / 0.5785 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.498e-05/0.3987, allocations: 40 kB / 0.5785 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004431/0.4032, allocations: 2.608 MB / 0.5811 GB, free: 9.785 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.012/0.4152, allocations: 6.592 MB / 0.5875 GB, free: 2.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004688/0.4198, allocations: 2.584 MB / 0.59 GB, free: 316 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001555/0.4214, allocations: 0.8386 MB / 0.5909 GB, free: 15.47 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009971/0.4314, allocations: 4.492 MB / 0.5952 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.121e-05/0.4314, allocations: 51.8 kB / 0.5953 GB, free: 10.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=144): time 2.885e-06/0.4314, allocations: 0 / 0.5953 GB, free: 10.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=180): time 0.0304/0.4618, allocations: 6.739 MB / 0.6019 GB, free: 4.078 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.249e-05/0.4619, allocations: 95.11 kB / 0.602 GB, free: 3.965 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.4629, allocations: 0.7846 MB / 0.6027 GB, free: 3.156 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002385/0.4632, allocations: 57.7 kB / 0.6028 GB, free: 3.094 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005483/0.4637, allocations: 0.7585 MB / 0.6035 GB, free: 2.324 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006167/0.4643, allocations: 0.6352 MB / 0.6041 GB, free: 1.684 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005328/0.4649, allocations: 363.5 kB / 0.6045 GB, free: 1.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.465, allocations: 309.1 kB / 0.6048 GB, free: 1.016 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.4661, allocations: 0.617 MB / 0.6054 GB, free: 404 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/0.4677, allocations: 1.141 MB / 0.6065 GB, free: 15.03 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002893/0.4706, allocations: 1.913 MB / 0.6084 GB, free: 12.89 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.4706, allocations: 4 kB / 0.6084 GB, free: 12.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007731/0.4784, allocations: 2.48 MB / 0.6108 GB, free: 10.39 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/0.4784, allocations: 14.66 kB / 0.6108 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/0.4784, allocations: 16 kB / 0.6108 GB, free: 10.37 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003717/0.4822, allocations: 467.2 kB / 0.6113 GB, free: 9.898 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002437/0.4846, allocations: 0.5227 MB / 0.6118 GB, free: 9.375 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01112/0.4957, allocations: 7.271 MB / 0.6189 GB, free: 1.652 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.4971, allocations: 67.98 kB / 0.6189 GB, free: 1.586 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002375/0.4974, allocations: 95.98 kB / 0.619 GB, free: 1.492 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.0007503/0.4981, allocations: 381.7 kB / 0.6194 GB, free: 1.109 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000366/0.4985, allocations: 139.1 kB / 0.6195 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007958/0.5065, allocations: 2.429 MB / 0.6219 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.631e-05/0.5065, allocations: 24 kB / 0.6219 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.5065, allocations: 0 / 0.6219 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.936e-05/0.5065, allocations: 11.97 kB / 0.6219 GB, free: 14.49 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01072/0.5173, allocations: 4.042 MB / 0.6259 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/0.5173, allocations: 0 / 0.6259 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00205/0.5193, allocations: 395.5 kB / 0.6263 GB, free: 10 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003765/0.5231, allocations: 454.9 kB / 0.6267 GB, free: 9.543 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002317/0.5233, allocations: 55.97 kB / 0.6268 GB, free: 9.488 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01008/0.5334, allocations: 7.114 MB / 0.6337 GB, free: 1.918 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5334, allocations: 0 / 0.6337 GB, free: 1.918 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008633/0.542, allocations: 3.14 MB / 0.6368 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003252/0.5424, allocations: 123 kB / 0.6369 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002281/0.5426, allocations: 39.88 kB / 0.6369 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008787/0.5435, allocations: 43.98 kB / 0.637 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00031/0.5438, allocations: 141.7 kB / 0.6371 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/0.5439, allocations: 67.97 kB / 0.6372 GB, free: 14.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007002/0.5446, allocations: 0.504 MB / 0.6377 GB, free: 13.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5446, allocations: 4 kB / 0.6377 GB, free: 13.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003031/0.5476, allocations: 1.075 MB / 0.6387 GB, free: 12.74 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.01059/0.5582, allocations: 4.763 MB / 0.6434 GB, free: 7.941 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003693/0.5619, allocations: 2.144 MB / 0.6455 GB, free: 5.746 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5619, allocations: 0 / 0.6455 GB, free: 5.746 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00198/0.5639, allocations: 1.302 MB / 0.6467 GB, free: 4.398 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/0.5653, allocations: 306.1 kB / 0.647 GB, free: 4.102 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02576/0.5911, allocations: 13.13 MB / 0.6598 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009461/0.5921, allocations: 1.284 MB / 0.6611 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001299/0.5934, allocations: 354.6 kB / 0.6614 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001166/0.5945, allocations: 0.7686 MB / 0.6622 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of SimCode: time 1.062e-06/0.5945, allocations: 4 kB / 0.6622 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1077/0.7022, allocations: 52.94 MB / 0.7139 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.62/22.32, allocations: 5.562 kB / 0.7139 GB, free: 15.3 MB / 0.5606 GB " [Timeout remaining time 638] (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: 77.08556491899799] Failed to read output from testmodel.py, exit status != 0: 22.46574337000493 22.480034039 22.092561496 Calling exit ...