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.001272/0.001272, allocations: 110.4 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.001445/0.001445, allocations: 220.9 kB / 22.25 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.471/1.471, allocations: 230.6 MB / 256 MB, free: 7.969 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.1489/0.1489, allocations: 23.84 MB / 336.3 MB, free: 11.16 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.002075/0.002075, allocations: 63.91 kB / 471.2 MB, free: 7.656 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3271, allocations: 59.86 MB / 0.5186 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.008565/0.3356, allocations: 8.507 MB / 0.5269 GB, free: 3.379 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03398/0.3696, allocations: 24.34 MB / 0.5507 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001924/0.3715, allocations: 29.16 kB / 0.5507 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002276/0.3738, allocations: 0.5164 MB / 0.5512 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009152/0.383, allocations: 2.181 MB / 0.5533 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01105/0.394, allocations: 3.069 MB / 0.5563 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004721/0.3987, allocations: 2.444 MB / 0.5587 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00201/0.4007, allocations: 1.128 MB / 0.5598 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002427/0.4032, allocations: 1.23 MB / 0.561 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003382/0.4065, allocations: 1.365 MB / 0.5623 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001006/0.4076, allocations: 219.1 kB / 0.5626 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01466/0.4222, allocations: 2.689 MB / 0.5652 GB, free: 9.281 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001239/0.4234, allocations: 0.5169 MB / 0.5657 GB, free: 8.859 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002629/0.4261, allocations: 1.073 MB / 0.5667 GB, free: 8.141 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01451/0.4406, allocations: 5.253 MB / 0.5719 GB, free: 3.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.4406, allocations: 0 / 0.5719 GB, free: 3.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4406, allocations: 0 / 0.5719 GB, free: 3.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.882e-05/0.4407, allocations: 0 / 0.5719 GB, free: 3.16 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.00593/0.4466, allocations: 2.65 MB / 0.5744 GB, free: 480 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.4466, allocations: 8.031 kB / 0.5745 GB, free: 472 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00034/0.447, allocations: 249.5 kB / 0.5747 GB, free: 212 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002003/0.449, allocations: 423 kB / 0.5751 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001939/0.4509, allocations: 0.9021 MB / 0.576 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002109/0.4511, allocations: 242.9 kB / 0.5762 GB, free: 14.6 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003114/0.4515, allocations: 180.3 kB / 0.5764 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003825/0.4553, allocations: 2.1 MB / 0.5784 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.455e-05/0.4553, allocations: 0 / 0.5784 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001785/0.4555, allocations: 68 kB / 0.5785 GB, free: 12.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.141e-05/0.4555, allocations: 44 kB / 0.5785 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004404/0.4599, allocations: 2.604 MB / 0.5811 GB, free: 9.578 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.0117/0.4716, allocations: 6.592 MB / 0.5875 GB, free: 2.703 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004768/0.4764, allocations: 2.576 MB / 0.59 GB, free: 112 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001429/0.4778, allocations: 0.8353 MB / 0.5909 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0103/0.4881, allocations: 4.488 MB / 0.5952 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.145e-05/0.4882, allocations: 55.81 kB / 0.5953 GB, free: 10.69 MB / 446.1 MB Notification: Performance of pre-optimization done (n=144): time 3.346e-06/0.4882, allocations: 0 / 0.5953 GB, free: 10.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=180): time 0.03219/0.5204, allocations: 6.739 MB / 0.6019 GB, free: 3.879 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.066e-05/0.5205, allocations: 99.11 kB / 0.602 GB, free: 3.762 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.5215, allocations: 0.7807 MB / 0.6027 GB, free: 2.957 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002099/0.5218, allocations: 57.7 kB / 0.6028 GB, free: 2.895 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005758/0.5223, allocations: 0.7624 MB / 0.6035 GB, free: 2.121 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006578/0.523, allocations: 0.6391 MB / 0.6041 GB, free: 1.477 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005447/0.5235, allocations: 363.5 kB / 0.6045 GB, free: 1.113 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.5237, allocations: 305.1 kB / 0.6048 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.5248, allocations: 0.6209 MB / 0.6054 GB, free: 192 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.5265, allocations: 1.137 MB / 0.6065 GB, free: 14.82 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003021/0.5295, allocations: 1.913 MB / 0.6084 GB, free: 12.69 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/0.5295, allocations: 8 kB / 0.6084 GB, free: 12.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008066/0.5376, allocations: 2.476 MB / 0.6108 GB, free: 10.19 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.5376, allocations: 12 kB / 0.6108 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.442e-05/0.5377, allocations: 16 kB / 0.6108 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004156/0.5418, allocations: 467.3 kB / 0.6113 GB, free: 9.695 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002596/0.5444, allocations: 0.5188 MB / 0.6118 GB, free: 9.176 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01177/0.5562, allocations: 7.274 MB / 0.6189 GB, free: 1.453 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/0.5579, allocations: 60 kB / 0.6189 GB, free: 1.395 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000293/0.5582, allocations: 112 kB / 0.619 GB, free: 1.285 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.0009311/0.5591, allocations: 369.7 kB / 0.6194 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004734/0.5596, allocations: 139.1 kB / 0.6195 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008162/0.5677, allocations: 2.445 MB / 0.6219 GB, free: 14.31 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/0.5678, allocations: 20 kB / 0.6219 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.5678, allocations: 0 / 0.6219 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.14e-05/0.5678, allocations: 11.95 kB / 0.6219 GB, free: 14.28 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01084/0.5786, allocations: 4.045 MB / 0.6259 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/0.5787, allocations: 0 / 0.6259 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002201/0.5809, allocations: 391.5 kB / 0.6263 GB, free: 9.797 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003909/0.5848, allocations: 454.9 kB / 0.6267 GB, free: 9.34 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000311/0.5851, allocations: 59.97 kB / 0.6268 GB, free: 9.281 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01039/0.5955, allocations: 7.107 MB / 0.6337 GB, free: 1.719 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.5955, allocations: 0 / 0.6337 GB, free: 1.719 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009229/0.6047, allocations: 3.144 MB / 0.6368 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004821/0.6052, allocations: 123 kB / 0.6369 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002367/0.6054, allocations: 39.94 kB / 0.6369 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008584/0.6063, allocations: 35.98 kB / 0.637 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003339/0.6066, allocations: 145.7 kB / 0.6371 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001497/0.6068, allocations: 63.97 kB / 0.6372 GB, free: 14.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007626/0.6075, allocations: 0.504 MB / 0.6377 GB, free: 13.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6075, allocations: 0 / 0.6377 GB, free: 13.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003613/0.6111, allocations: 1.075 MB / 0.6387 GB, free: 12.55 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.01189/0.623, allocations: 4.759 MB / 0.6434 GB, free: 7.75 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004269/0.6273, allocations: 2.148 MB / 0.6454 GB, free: 5.551 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6273, allocations: 0 / 0.6454 GB, free: 5.551 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002224/0.6295, allocations: 1.302 MB / 0.6467 GB, free: 4.203 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/0.6311, allocations: 318.7 kB / 0.647 GB, free: 3.891 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02812/0.6592, allocations: 13.13 MB / 0.6598 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009599/0.6602, allocations: 1.273 MB / 0.6611 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001362/0.6616, allocations: 354.4 kB / 0.6614 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00119/0.6627, allocations: 0.7764 MB / 0.6622 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of SimCode: time 1.613e-06/0.6628, allocations: 0 / 0.6622 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1192/0.7819, allocations: 52.94 MB / 0.7139 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.46/24.25, allocations: 5.734 kB / 0.7139 GB, free: 15.11 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: 27.080316132865846] Failed to read output from testmodel.py, exit status != 0: 24.404056231025606 24.428762746 23.984283761 Calling exit ...