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.0007096/0.0007096, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007392/0.0007392, allocations: 169.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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 0.8408/0.8408, allocations: 177.1 MB / 202.7 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.08081/0.08081, allocations: 17.45 MB / 276.6 MB, free: 11.76 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 411.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.248e-05/2.433e-05, allocations: 3.812 kB / 411.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.005407/0.005432, allocations: 7.422 MB / 419 MB, free: 7.953 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0161/0.02153, allocations: 21.31 MB / 440.3 MB, free: 9.441 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.02262, allocations: 29.38 kB / 440.3 MB, free: 9.426 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009562/0.02358, allocations: 479.2 kB / 440.8 MB, free: 9.172 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004466/0.02804, allocations: 2.227 MB / 443 MB, free: 7.516 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007417/0.03546, allocations: 3.159 MB / 446.2 MB, free: 5.07 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002472/0.03793, allocations: 2.53 MB / 448.7 MB, free: 3.527 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001155/0.03909, allocations: 1.124 MB / 449.9 MB, free: 2.691 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001606/0.04069, allocations: 1.692 MB / 451.5 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001499/0.04219, allocations: 1.099 MB / 452.6 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005518/0.04274, allocations: 216 kB / 452.9 MB, free: 412 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007646/0.05039, allocations: 2.542 MB / 455.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006404/0.05103, allocations: 0.5256 MB / 455.9 MB, free: 13.33 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001259/0.05229, allocations: 0.7874 MB / 456.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009381/0.06167, allocations: 5.558 MB / 462.3 MB, free: 6.961 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.06167, allocations: 0 / 462.3 MB, free: 6.961 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.06168, allocations: 3.938 kB / 462.3 MB, free: 6.957 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.081e-05/0.06175, allocations: 0 / 462.3 MB, free: 6.957 MB / 362.7 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.003932/0.06568, allocations: 2.627 MB / 464.9 MB, free: 4.285 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.06572, allocations: 12.03 kB / 464.9 MB, free: 4.273 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002237/0.06595, allocations: 245.5 kB / 465.2 MB, free: 4.023 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.06704, allocations: 423 kB / 465.6 MB, free: 3.609 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.06817, allocations: 0.9014 MB / 466.5 MB, free: 2.684 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/0.06831, allocations: 238.9 kB / 466.7 MB, free: 2.426 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002014/0.06851, allocations: 192.3 kB / 466.9 MB, free: 2.238 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002236/0.07075, allocations: 2.081 MB / 469 MB, free: 128 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.07077, allocations: 192 / 469 MB, free: 128 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.07089, allocations: 75.94 kB / 469 MB, free: 52 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/0.07091, allocations: 40 kB / 469.1 MB, free: 12 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002585/0.0735, allocations: 2.581 MB / 471.7 MB, free: 13.43 MB / 378.7 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.006117/0.07962, allocations: 5.45 MB / 477.1 MB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002702/0.08232, allocations: 2.544 MB / 479.7 MB, free: 5.309 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008088/0.08313, allocations: 0.8236 MB / 480.5 MB, free: 4.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005366/0.08849, allocations: 4.259 MB / 484.7 MB, free: 200 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.08852, allocations: 43.88 kB / 484.8 MB, free: 148 kB / 378.7 MB Notification: Performance of pre-optimization done (n=144): time 3.035e-06/0.08853, allocations: 0 / 484.8 MB, free: 148 kB / 378.7 MB Notification: Performance of matching and sorting (n=180): time 0.01438/0.1029, allocations: 6.755 MB / 491.5 MB, free: 9.316 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.103, allocations: 99.11 kB / 491.6 MB, free: 9.199 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007567/0.1037, allocations: 0.8039 MB / 492.4 MB, free: 8.371 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.1038, allocations: 57.7 kB / 492.5 MB, free: 8.309 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003359/0.1042, allocations: 0.7507 MB / 493.2 MB, free: 7.547 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003791/0.1045, allocations: 0.6351 MB / 493.9 MB, free: 6.906 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003347/0.1049, allocations: 359.5 kB / 494.2 MB, free: 6.547 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.331e-05/0.1049, allocations: 305.1 kB / 494.5 MB, free: 6.246 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007617/0.1057, allocations: 0.6131 MB / 495.1 MB, free: 5.629 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009356/0.1066, allocations: 1.129 MB / 496.3 MB, free: 4.273 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001797/0.1084, allocations: 1.921 MB / 498.2 MB, free: 2.137 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-06/0.1084, allocations: 6.812 kB / 498.2 MB, free: 2.133 MB / 394.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.00384/0.1123, allocations: 2.468 MB / 0.4889 GB, free: 15.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.1123, allocations: 15.94 kB / 0.4889 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.1123, allocations: 20.12 kB / 0.489 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001588/0.1139, allocations: 474.9 kB / 0.4894 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.1151, allocations: 0.5188 MB / 0.4899 GB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006087/0.1212, allocations: 7.215 MB / 0.497 GB, free: 6.953 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008884/0.122, allocations: 71.98 kB / 0.497 GB, free: 6.883 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.1222, allocations: 95.98 kB / 0.4971 GB, free: 6.789 MB / 410.7 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.0005696/0.1227, allocations: 381.1 kB / 0.4975 GB, free: 6.406 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002196/0.123, allocations: 143.1 kB / 0.4976 GB, free: 6.266 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003958/0.1269, allocations: 2.428 MB / 0.5 GB, free: 3.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.1269, allocations: 20 kB / 0.5 GB, free: 3.801 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1269, allocations: 0 / 0.5 GB, free: 3.801 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.127, allocations: 11.97 kB / 0.5 GB, free: 3.789 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005485/0.1324, allocations: 3.8 MB / 0.5037 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.1324, allocations: 0 / 0.5037 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009619/0.1334, allocations: 395.5 kB / 0.5041 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001523/0.1349, allocations: 462.9 kB / 0.5046 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.071e-05/0.135, allocations: 47.98 kB / 0.5046 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005611/0.1406, allocations: 7.033 MB / 0.5115 GB, free: 7.543 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1406, allocations: 3.938 kB / 0.5115 GB, free: 7.539 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004586/0.1452, allocations: 3.14 MB / 0.5145 GB, free: 4.375 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003365/0.1456, allocations: 127 kB / 0.5147 GB, free: 4.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.1457, allocations: 32 kB / 0.5147 GB, free: 4.219 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004261/0.1461, allocations: 39.98 kB / 0.5147 GB, free: 4.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002559/0.1463, allocations: 153.6 kB / 0.5149 GB, free: 4.027 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.475e-05/0.1464, allocations: 63.97 kB / 0.5149 GB, free: 3.965 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007873/0.1472, allocations: 0.5079 MB / 0.5154 GB, free: 3.445 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1472, allocations: 0 / 0.5154 GB, free: 3.445 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002393/0.1496, allocations: 1.075 MB / 0.5165 GB, free: 2.367 MB / 426.7 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.006197/0.1558, allocations: 4.798 MB / 0.5212 GB, free: 13.52 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002816/0.1586, allocations: 2.14 MB / 0.5233 GB, free: 11.33 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1586, allocations: 0 / 0.5233 GB, free: 11.33 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001208/0.1598, allocations: 1.306 MB / 0.5245 GB, free: 9.977 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.1609, allocations: 312.4 kB / 0.5248 GB, free: 9.672 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01643/0.1773, allocations: 13.06 MB / 0.5376 GB, free: 11.97 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005095/0.1778, allocations: 0.693 MB / 0.5383 GB, free: 11.24 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008629/0.1787, allocations: 346.3 kB / 0.5386 GB, free: 10.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006998/0.1794, allocations: 0.7814 MB / 0.5394 GB, free: 10.12 MB / 458.7 MB Notification: Performance of SimCode: time 9.22e-07/0.1794, allocations: 0 / 0.5394 GB, free: 10.12 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2001/0.3795, allocations: 53.61 MB / 0.5917 GB, free: 151.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.711/9.091, allocations: 10.83 kB / 0.5917 GB, free: 151.1 MB / 490.7 MB " [Timeout remaining time 651] (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 os._exit(0), Time elapsed: 10.991270245984197] Failed to read output from testmodel.py, exit status != 0: 9.330822868272662 9.2137975 9.150526882 Calling exit ...