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.001349/0.001349, allocations: 108.2 kB / 16.45 MB, free: 6.5 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.001478/0.001478, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.479/1.479, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.1468/0.1468, allocations: 23.84 MB / 332.7 MB, free: 12.39 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.002409/0.002409, allocations: 71.89 kB / 466 MB, free: 10.12 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3669, allocations: 59.82 MB / 0.5135 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.01392/0.3808, allocations: 8.461 MB / 0.5217 GB, free: 3.055 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03564/0.4164, allocations: 24.29 MB / 0.5455 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001562/0.418, allocations: 28.91 kB / 0.5455 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00197/0.42, allocations: 0.513 MB / 0.546 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008289/0.4283, allocations: 2.172 MB / 0.5481 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009577/0.4378, allocations: 3.024 MB / 0.5511 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004525/0.4424, allocations: 2.443 MB / 0.5535 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002113/0.4445, allocations: 1.157 MB / 0.5546 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002101/0.4466, allocations: 1.234 MB / 0.5558 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002977/0.4496, allocations: 1.365 MB / 0.5571 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006826/0.4502, allocations: 218.4 kB / 0.5573 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01141/0.4617, allocations: 2.681 MB / 0.5599 GB, free: 9.254 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00114/0.4628, allocations: 0.5211 MB / 0.5605 GB, free: 8.828 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002561/0.4654, allocations: 1.07 MB / 0.5615 GB, free: 8.113 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01482/0.4802, allocations: 5.258 MB / 0.5666 GB, free: 4.664 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.4802, allocations: 0 / 0.5666 GB, free: 4.664 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4802, allocations: 4 kB / 0.5666 GB, free: 4.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000129/0.4803, allocations: 0 / 0.5666 GB, free: 4.66 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.007607/0.4879, allocations: 2.714 MB / 0.5693 GB, free: 1.883 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.488, allocations: 12.03 kB / 0.5693 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003529/0.4883, allocations: 253.5 kB / 0.5695 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002034/0.4904, allocations: 423 kB / 0.5699 GB, free: 1.199 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001796/0.4921, allocations: 0.9677 MB / 0.5709 GB, free: 192 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002125/0.4924, allocations: 191.5 kB / 0.5711 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003239/0.4927, allocations: 180.3 kB / 0.5712 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00384/0.4965, allocations: 2.096 MB / 0.5733 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.148e-05/0.4966, allocations: 0 / 0.5733 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001982/0.4968, allocations: 71.98 kB / 0.5734 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.793e-05/0.4968, allocations: 40 kB / 0.5734 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004657/0.5014, allocations: 2.616 MB / 0.576 GB, free: 10.96 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.01241/0.5139, allocations: 6.648 MB / 0.5824 GB, free: 4.023 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005447/0.5193, allocations: 3.04 MB / 0.5854 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001688/0.521, allocations: 0.8314 MB / 0.5862 GB, free: 28 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01356/0.5346, allocations: 8.155 MB / 0.5942 GB, free: 6.941 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.753e-05/0.5346, allocations: 51.81 kB / 0.5942 GB, free: 6.883 MB / 446.1 MB Notification: Performance of pre-optimization done (n=144): time 3.276e-06/0.5346, allocations: 0 / 0.5942 GB, free: 6.883 MB / 446.1 MB Notification: Performance of matching and sorting (n=180): time 0.03123/0.5658, allocations: 7.034 MB / 0.6011 GB, free: 15.7 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.543e-05/0.5659, allocations: 95.11 kB / 0.6012 GB, free: 15.59 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.5671, allocations: 0.7885 MB / 0.602 GB, free: 14.78 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002006/0.5673, allocations: 53.7 kB / 0.602 GB, free: 14.72 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005951/0.5678, allocations: 0.7624 MB / 0.6028 GB, free: 13.95 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006619/0.5685, allocations: 0.6352 MB / 0.6034 GB, free: 13.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005924/0.5691, allocations: 363.5 kB / 0.6037 GB, free: 12.94 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.5692, allocations: 309 kB / 0.604 GB, free: 12.64 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/0.5705, allocations: 0.6131 MB / 0.6046 GB, free: 12.02 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001978/0.5725, allocations: 1.133 MB / 0.6057 GB, free: 10.66 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003087/0.5755, allocations: 1.917 MB / 0.6076 GB, free: 8.527 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/0.5756, allocations: 4 kB / 0.6076 GB, free: 8.523 MB / 462.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007989/0.5835, allocations: 2.479 MB / 0.61 GB, free: 6.023 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.498e-05/0.5836, allocations: 12 kB / 0.61 GB, free: 6.012 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.41e-05/0.5836, allocations: 16 kB / 0.6101 GB, free: 5.996 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004012/0.5876, allocations: 475.3 kB / 0.6105 GB, free: 5.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002726/0.5903, allocations: 0.5188 MB / 0.611 GB, free: 5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01193/0.6023, allocations: 7.686 MB / 0.6185 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/0.604, allocations: 64 kB / 0.6186 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002576/0.6042, allocations: 108 kB / 0.6187 GB, free: 12.6 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.0008468/0.6051, allocations: 376.1 kB / 0.619 GB, free: 12.22 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004302/0.6055, allocations: 139.1 kB / 0.6192 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008202/0.6137, allocations: 2.433 MB / 0.6216 GB, free: 9.641 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.042e-05/0.6137, allocations: 20 kB / 0.6216 GB, free: 9.621 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-05/0.6138, allocations: 4 kB / 0.6216 GB, free: 9.617 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.906e-05/0.6138, allocations: 11.95 kB / 0.6216 GB, free: 9.605 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01085/0.6247, allocations: 4.066 MB / 0.6256 GB, free: 5.469 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.6247, allocations: 0 / 0.6256 GB, free: 5.469 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002156/0.6268, allocations: 395.5 kB / 0.6259 GB, free: 5.082 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003876/0.6307, allocations: 458.9 kB / 0.6264 GB, free: 4.621 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002381/0.6309, allocations: 59.97 kB / 0.6264 GB, free: 4.562 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01115/0.6421, allocations: 7.528 MB / 0.6338 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.6421, allocations: 0 / 0.6338 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009239/0.6513, allocations: 3.136 MB / 0.6368 GB, free: 9.316 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005115/0.6518, allocations: 208.1 kB / 0.637 GB, free: 9.094 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002244/0.6521, allocations: 35.94 kB / 0.6371 GB, free: 9.059 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009274/0.653, allocations: 39.98 kB / 0.6371 GB, free: 9.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003671/0.6533, allocations: 137.8 kB / 0.6372 GB, free: 8.887 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001601/0.6535, allocations: 63.97 kB / 0.6373 GB, free: 8.824 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007494/0.6543, allocations: 0.5079 MB / 0.6378 GB, free: 8.305 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6543, allocations: 0 / 0.6378 GB, free: 8.305 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003585/0.6578, allocations: 1.068 MB / 0.6388 GB, free: 7.234 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.01191/0.6698, allocations: 4.77 MB / 0.6435 GB, free: 2.422 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004663/0.6744, allocations: 2.144 MB / 0.6456 GB, free: 232 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.6744, allocations: 0 / 0.6456 GB, free: 232 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002482/0.6769, allocations: 1.306 MB / 0.6469 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001817/0.6787, allocations: 307.8 kB / 0.6472 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02997/0.7087, allocations: 13.15 MB / 0.66 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/0.7097, allocations: 1.273 MB / 0.6612 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001403/0.7111, allocations: 346.7 kB / 0.6616 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001228/0.7124, allocations: 0.7764 MB / 0.6623 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of SimCode: time 1.072e-06/0.7124, allocations: 0 / 0.6623 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1183/0.8307, allocations: 51.36 MB / 0.7125 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.94/23.77, allocations: 4.062 kB / 0.7125 GB, free: 11.33 MB / 0.5606 GB " [Timeout remaining time 636] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_AcidBase_WaterSelfIonization_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 26.832396080018952] Failed to read output from testmodel.py, exit status != 0: 23.899932191940024 24.125724474 23.430625326 Calling exit ...