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.001346/0.001346, allocations: 116.1 kB / 17.17 MB, free: 6 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.001318/0.001318, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.491/1.491, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.1436/0.1436, allocations: 23.86 MB / 333.4 MB, free: 1.215 MB / 254.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_AcidBase_WaterSelfIonization",fmuType="cs",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.002016/0.002016, allocations: 69.53 kB / 466.7 MB, free: 30.84 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09319/0.0952, allocations: 59.84 MB / 0.5142 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.01071/0.1059, allocations: 8.45 MB / 0.5224 GB, free: 4.469 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03038/0.1363, allocations: 24.29 MB / 0.5462 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.1374, allocations: 31.75 kB / 0.5462 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.1389, allocations: 0.5002 MB / 0.5467 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005814/0.1447, allocations: 2.177 MB / 0.5488 GB, free: 9.359 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007792/0.1525, allocations: 3.025 MB / 0.5518 GB, free: 6.316 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003493/0.156, allocations: 2.449 MB / 0.5542 GB, free: 3.855 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001728/0.1577, allocations: 1.153 MB / 0.5553 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001765/0.1595, allocations: 1.231 MB / 0.5565 GB, free: 1.418 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002263/0.1618, allocations: 1.359 MB / 0.5578 GB, free: 56 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004987/0.1623, allocations: 216 kB / 0.558 GB, free: 15.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007802/0.1701, allocations: 2.695 MB / 0.5606 GB, free: 13.14 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006911/0.1707, allocations: 0.5101 MB / 0.5611 GB, free: 12.63 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001377/0.1721, allocations: 1.073 MB / 0.5622 GB, free: 11.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01129/0.1834, allocations: 5.253 MB / 0.5673 GB, free: 6.281 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.1834, allocations: 0 / 0.5673 GB, free: 6.281 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1834, allocations: 0 / 0.5673 GB, free: 6.281 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.04e-05/0.1835, allocations: 0 / 0.5673 GB, free: 6.281 MB / 430.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.005743/0.1892, allocations: 2.714 MB / 0.57 GB, free: 3.504 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1893, allocations: 12.03 kB / 0.57 GB, free: 3.492 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.277e-05/0.1893, allocations: 43.69 kB / 0.57 GB, free: 3.449 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003266/0.1896, allocations: 253.5 kB / 0.5703 GB, free: 3.191 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001916/0.1915, allocations: 423 kB / 0.5707 GB, free: 2.777 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/0.1933, allocations: 0.9755 MB / 0.5716 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001902/0.1934, allocations: 187.5 kB / 0.5718 GB, free: 1.562 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003449/0.1938, allocations: 184.1 kB / 0.572 GB, free: 1.383 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003752/0.1975, allocations: 2.088 MB / 0.574 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.147e-05/0.1976, allocations: 4 kB / 0.574 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001992/0.1978, allocations: 72 kB / 0.5741 GB, free: 15.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.746e-05/0.1978, allocations: 40 kB / 0.5741 GB, free: 15.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004623/0.2024, allocations: 2.608 MB / 0.5767 GB, free: 12.54 MB / 446.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.01184/0.2143, allocations: 6.659 MB / 0.5832 GB, free: 5.594 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005313/0.2196, allocations: 3.032 MB / 0.5861 GB, free: 2.441 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001589/0.2212, allocations: 0.8392 MB / 0.587 GB, free: 1.598 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2304/0.4516, allocations: 8.153 MB / 0.5949 GB, free: 62.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.4516, allocations: 51.91 kB / 0.595 GB, free: 62.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=144): time 3.707e-06/0.4516, allocations: 0 / 0.595 GB, free: 62.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=180): time 0.03115/0.4828, allocations: 7.028 MB / 0.6018 GB, free: 59.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.4828, allocations: 99.86 kB / 0.6019 GB, free: 59.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/0.4843, allocations: 0.7846 MB / 0.6027 GB, free: 59.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003354/0.4846, allocations: 57.33 kB / 0.6028 GB, free: 59.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000493/0.4851, allocations: 0.7608 MB / 0.6035 GB, free: 58.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006805/0.4858, allocations: 0.64 MB / 0.6041 GB, free: 58.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006611/0.4864, allocations: 361.9 kB / 0.6045 GB, free: 57.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.375e-05/0.4865, allocations: 306.2 kB / 0.6048 GB, free: 57.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/0.4877, allocations: 0.6194 MB / 0.6054 GB, free: 57.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/0.4892, allocations: 1.134 MB / 0.6065 GB, free: 56.53 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002943/0.4922, allocations: 1.915 MB / 0.6083 GB, free: 55.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.762e-05/0.4922, allocations: 4.531 kB / 0.6083 GB, free: 55.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008388/0.5006, allocations: 2.468 MB / 0.6108 GB, free: 54.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.853e-05/0.5006, allocations: 15.92 kB / 0.6108 GB, free: 54.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.611e-05/0.5006, allocations: 21.94 kB / 0.6108 GB, free: 54.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003866/0.5045, allocations: 465.7 kB / 0.6112 GB, free: 54.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00265/0.5072, allocations: 0.5234 MB / 0.6117 GB, free: 54.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009227/0.5164, allocations: 7.682 MB / 0.6192 GB, free: 47.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.518, allocations: 67.22 kB / 0.6193 GB, free: 47.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001848/0.5182, allocations: 98.36 kB / 0.6194 GB, free: 47.2 MB / 446.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.0006786/0.5189, allocations: 374.7 kB / 0.6198 GB, free: 46.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003408/0.5192, allocations: 147.3 kB / 0.6199 GB, free: 46.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007321/0.5265, allocations: 2.438 MB / 0.6223 GB, free: 45.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/0.5265, allocations: 15.81 kB / 0.6223 GB, free: 45.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.5265, allocations: 7.953 kB / 0.6223 GB, free: 45.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.021e-05/0.5266, allocations: 7.969 kB / 0.6223 GB, free: 45.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008769/0.5353, allocations: 4.067 MB / 0.6263 GB, free: 43.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/0.5354, allocations: 0 / 0.6263 GB, free: 43.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002063/0.5374, allocations: 395.1 kB / 0.6267 GB, free: 43.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003619/0.541, allocations: 459.8 kB / 0.6271 GB, free: 42.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001927/0.5412, allocations: 51.44 kB / 0.6272 GB, free: 42.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008039/0.5493, allocations: 7.523 MB / 0.6345 GB, free: 35.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5493, allocations: 0 / 0.6345 GB, free: 35.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00758/0.5568, allocations: 3.144 MB / 0.6376 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003464/0.5572, allocations: 202.3 kB / 0.6378 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002505/0.5574, allocations: 32 kB / 0.6378 GB, free: 31.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009189/0.5584, allocations: 43.92 kB / 0.6378 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003136/0.5587, allocations: 137.8 kB / 0.638 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/0.5588, allocations: 63.98 kB / 0.638 GB, free: 31.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005244/0.5593, allocations: 0.5118 MB / 0.6385 GB, free: 31.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5593, allocations: 0 / 0.6385 GB, free: 31.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002931/0.5623, allocations: 1.075 MB / 0.6396 GB, free: 30.07 MB / 446.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.009557/0.5718, allocations: 4.761 MB / 0.6442 GB, free: 25.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003429/0.5752, allocations: 2.146 MB / 0.6463 GB, free: 23.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.5752, allocations: 0 / 0.6463 GB, free: 23.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001759/0.577, allocations: 1.306 MB / 0.6476 GB, free: 21.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/0.5787, allocations: 301.1 kB / 0.6479 GB, free: 21.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02457/0.6033, allocations: 13.15 MB / 0.6607 GB, free: 7.816 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006505/0.6039, allocations: 1.277 MB / 0.662 GB, free: 6.508 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0013/0.6052, allocations: 359.5 kB / 0.6623 GB, free: 6.164 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009417/0.6061, allocations: 0.7689 MB / 0.6631 GB, free: 5.395 MB / 446.1 MB Notification: Performance of SimCode: time 1.523e-06/0.6061, allocations: 0 / 0.6631 GB, free: 5.395 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1084/0.7145, allocations: 51.4 MB / 0.7133 GB, free: 2.273 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 22.64/23.35, allocations: 3.859 kB / 0.7133 GB, free: 2.27 MB / 494.1 MB " [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 os._exit(0), Time elapsed: 26.19690595101565] Failed to read output from testmodel.py, exit status != 0: 23.537352273997385 23.559596851 23.371807389 Calling exit ...