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.001863/0.001863, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.002153/0.002153, allocations: 215 kB / 20.13 MB, free: 2.949 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.552/1.552, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1435/0.1435, allocations: 23.88 MB / 333.4 MB, free: 1.18 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization,fileNamePrefix="Chemical_master_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.00207/0.00207, allocations: 64.06 kB / 466.7 MB, free: 30.82 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.106, allocations: 59.84 MB / 0.5142 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.0103/0.1163, allocations: 8.466 MB / 0.5225 GB, free: 4.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03001/0.1463, allocations: 24.29 MB / 0.5462 GB, free: 12.03 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001245/0.1475, allocations: 27.75 kB / 0.5462 GB, free: 12 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001559/0.1491, allocations: 0.504 MB / 0.5467 GB, free: 11.49 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006446/0.1555, allocations: 2.169 MB / 0.5489 GB, free: 9.309 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008469/0.164, allocations: 3.033 MB / 0.5518 GB, free: 6.258 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003667/0.1677, allocations: 2.438 MB / 0.5542 GB, free: 3.809 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001603/0.1693, allocations: 1.164 MB / 0.5553 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001664/0.1709, allocations: 1.224 MB / 0.5565 GB, free: 1.367 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002166/0.1731, allocations: 1.367 MB / 0.5579 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004772/0.1736, allocations: 216 kB / 0.5581 GB, free: 15.78 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008154/0.1817, allocations: 2.691 MB / 0.5607 GB, free: 13.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007192/0.1825, allocations: 0.5102 MB / 0.5612 GB, free: 12.58 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001418/0.1839, allocations: 1.081 MB / 0.5622 GB, free: 11.49 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01149/0.1954, allocations: 5.241 MB / 0.5674 GB, free: 6.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.1954, allocations: 0 / 0.5674 GB, free: 6.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1954, allocations: 0 / 0.5674 GB, free: 6.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.211e-05/0.1954, allocations: 4 kB / 0.5674 GB, free: 6.227 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.005937/0.2014, allocations: 2.71 MB / 0.57 GB, free: 3.453 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.2014, allocations: 8.031 kB / 0.57 GB, free: 3.445 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.014e-05/0.2015, allocations: 51.69 kB / 0.5701 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003486/0.2018, allocations: 253.5 kB / 0.5703 GB, free: 3.137 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001926/0.2038, allocations: 419 kB / 0.5707 GB, free: 2.727 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001805/0.2056, allocations: 0.9755 MB / 0.5717 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002008/0.2058, allocations: 187.5 kB / 0.5718 GB, free: 1.512 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003762/0.2061, allocations: 192.1 kB / 0.572 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003987/0.2101, allocations: 2.081 MB / 0.5741 GB, free: 15.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.505e-05/0.2102, allocations: 4 kB / 0.5741 GB, free: 15.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001918/0.2104, allocations: 68 kB / 0.5741 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.689e-05/0.2104, allocations: 44 kB / 0.5742 GB, free: 15.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004663/0.2151, allocations: 2.612 MB / 0.5767 GB, free: 12.48 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.01251/0.2276, allocations: 6.659 MB / 0.5832 GB, free: 5.539 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005258/0.2328, allocations: 3.04 MB / 0.5862 GB, free: 2.379 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00168/0.2345, allocations: 0.8353 MB / 0.587 GB, free: 1.539 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2604/0.4949, allocations: 8.145 MB / 0.595 GB, free: 62.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.4949, allocations: 52.03 kB / 0.595 GB, free: 62.26 MB / 446.1 MB Notification: Performance of pre-optimization done (n=144): time 3.727e-06/0.4949, allocations: 1.562 kB / 0.595 GB, free: 62.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=180): time 0.03026/0.5252, allocations: 7.034 MB / 0.6019 GB, free: 59.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.176e-05/0.5252, allocations: 104.7 kB / 0.602 GB, free: 59.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.5264, allocations: 0.7843 MB / 0.6028 GB, free: 59.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002248/0.5266, allocations: 59.98 kB / 0.6028 GB, free: 59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004776/0.5271, allocations: 0.7553 MB / 0.6035 GB, free: 58.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000579/0.5277, allocations: 0.6438 MB / 0.6042 GB, free: 58.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000595/0.5283, allocations: 358 kB / 0.6045 GB, free: 57.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.827e-05/0.5283, allocations: 308.7 kB / 0.6048 GB, free: 57.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001291/0.5296, allocations: 0.6135 MB / 0.6054 GB, free: 57.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001573/0.5312, allocations: 1.131 MB / 0.6065 GB, free: 56.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00295/0.5341, allocations: 1.922 MB / 0.6084 GB, free: 55.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-05/0.5342, allocations: 4.125 kB / 0.6084 GB, free: 55.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007636/0.5418, allocations: 2.466 MB / 0.6108 GB, free: 54.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.5418, allocations: 12.27 kB / 0.6108 GB, free: 54.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.039e-05/0.5419, allocations: 23.33 kB / 0.6108 GB, free: 54.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003726/0.5456, allocations: 471.5 kB / 0.6113 GB, free: 54.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002573/0.5482, allocations: 0.5248 MB / 0.6118 GB, free: 54.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009176/0.5573, allocations: 7.679 MB / 0.6193 GB, free: 47.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/0.559, allocations: 67.25 kB / 0.6194 GB, free: 47.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002148/0.5592, allocations: 102.3 kB / 0.6195 GB, free: 47.16 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.0007299/0.5599, allocations: 368.5 kB / 0.6198 GB, free: 46.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003611/0.5603, allocations: 144.6 kB / 0.6199 GB, free: 46.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007151/0.5674, allocations: 2.44 MB / 0.6223 GB, free: 45.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/0.5674, allocations: 15.78 kB / 0.6223 GB, free: 45.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/0.5674, allocations: 3.938 kB / 0.6224 GB, free: 45.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.238e-05/0.5675, allocations: 11.95 kB / 0.6224 GB, free: 45.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008938/0.5764, allocations: 4.066 MB / 0.6263 GB, free: 43.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.591e-05/0.5764, allocations: 1.75 kB / 0.6263 GB, free: 43.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002037/0.5785, allocations: 394.4 kB / 0.6267 GB, free: 43.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003528/0.582, allocations: 454.3 kB / 0.6271 GB, free: 42.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002327/0.5822, allocations: 56.06 kB / 0.6272 GB, free: 42.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008113/0.5903, allocations: 7.528 MB / 0.6345 GB, free: 35.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5903, allocations: 0 / 0.6345 GB, free: 35.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007686/0.598, allocations: 3.14 MB / 0.6376 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000378/0.5984, allocations: 200.2 kB / 0.6378 GB, free: 31.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002405/0.5986, allocations: 36 kB / 0.6378 GB, free: 31.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009361/0.5996, allocations: 43.92 kB / 0.6379 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003327/0.5999, allocations: 129.8 kB / 0.638 GB, free: 31.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/0.6, allocations: 75.97 kB / 0.6381 GB, free: 31.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005939/0.6006, allocations: 0.504 MB / 0.6386 GB, free: 31.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6006, allocations: 3.094 kB / 0.6386 GB, free: 31.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003166/0.6038, allocations: 1.076 MB / 0.6396 GB, free: 30.02 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.009548/0.6133, allocations: 4.758 MB / 0.6443 GB, free: 25.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003412/0.6168, allocations: 2.146 MB / 0.6464 GB, free: 23.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6168, allocations: 4 kB / 0.6464 GB, free: 23.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001755/0.6185, allocations: 1.306 MB / 0.6476 GB, free: 21.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/0.6202, allocations: 301 kB / 0.6479 GB, free: 21.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02413/0.6443, allocations: 13.15 MB / 0.6608 GB, free: 7.766 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000651/0.6449, allocations: 1.277 MB / 0.662 GB, free: 6.457 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001318/0.6462, allocations: 358.7 kB / 0.6624 GB, free: 6.109 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008638/0.6471, allocations: 0.7767 MB / 0.6631 GB, free: 5.332 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.6471, allocations: 0 / 0.6631 GB, free: 5.332 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1038/0.7509, allocations: 51.4 MB / 0.7133 GB, free: 2.215 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 23.04/23.8, allocations: 15.53 kB / 0.7133 GB, free: 2.203 MB / 494.1 MB " [Timeout remaining time 636] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_AcidBase_WaterSelfIonization_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 26.7815031229984] Failed to read output from testmodel.py, exit status != 0: 23.980992280994542 24.006937381 23.806291823 Calling exit ...