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.001284/0.001284, 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.001661/0.001661, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9171/0.9171, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.08845/0.08845, allocations: 17.37 MB / 276.6 MB, free: 11.84 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 3.938 kB / 411.5 MB, free: 400 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.213e-05, allocations: 2.281 kB / 411.5 MB, free: 396 kB / 378.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.007274/0.007296, allocations: 7.423 MB / 418.9 MB, free: 8.934 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01772/0.02502, allocations: 21.3 MB / 440.2 MB, free: 3.555 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/0.02617, allocations: 31.75 kB / 440.2 MB, free: 3.523 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.02722, allocations: 476.1 kB / 440.7 MB, free: 3.055 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004705/0.03192, allocations: 2.218 MB / 442.9 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1822/0.2141, allocations: 3.157 MB / 446 MB, free: 44.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00233/0.2165, allocations: 2.523 MB / 448.6 MB, free: 44.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/0.2176, allocations: 1.118 MB / 449.7 MB, free: 44.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001257/0.2188, allocations: 1.694 MB / 451.4 MB, free: 44 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009889/0.2198, allocations: 1.103 MB / 452.5 MB, free: 43.92 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002084/0.22, allocations: 216 kB / 452.7 MB, free: 43.92 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0049/0.2249, allocations: 2.551 MB / 455.2 MB, free: 43.83 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004001/0.2253, allocations: 0.5211 MB / 455.8 MB, free: 43.76 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008447/0.2262, allocations: 0.7893 MB / 456.6 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008588/0.2347, allocations: 5.555 MB / 462.1 MB, free: 42.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2347, allocations: 0 / 462.1 MB, free: 42.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2348, allocations: 0 / 462.1 MB, free: 42.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.603e-05/0.2348, allocations: 0 / 462.1 MB, free: 42.02 MB / 410.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.003828/0.2386, allocations: 2.626 MB / 464.7 MB, free: 40.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.2387, allocations: 9.188 kB / 464.7 MB, free: 40.53 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001941/0.2389, allocations: 247.3 kB / 465 MB, free: 40.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.24, allocations: 425.9 kB / 465.4 MB, free: 40.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.2412, allocations: 0.899 MB / 466.3 MB, free: 39.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.2413, allocations: 242 kB / 466.5 MB, free: 39.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000201/0.2415, allocations: 189.4 kB / 466.7 MB, free: 39.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002135/0.2437, allocations: 2.083 MB / 468.8 MB, free: 38.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.2437, allocations: 384 / 468.8 MB, free: 38.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.2438, allocations: 79.62 kB / 468.9 MB, free: 38.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/0.2438, allocations: 42.02 kB / 468.9 MB, free: 38.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002483/0.2463, allocations: 2.576 MB / 471.5 MB, free: 37.91 MB / 410.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.006377/0.2527, allocations: 5.461 MB / 477 MB, free: 35.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002903/0.2556, allocations: 2.537 MB / 479.5 MB, free: 34.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009821/0.2566, allocations: 0.8301 MB / 480.3 MB, free: 33.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005901/0.2625, allocations: 4.259 MB / 484.6 MB, free: 32.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.2625, allocations: 46.34 kB / 484.6 MB, free: 32.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=144): time 2.785e-06/0.2625, allocations: 3.938 kB / 484.6 MB, free: 32.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=180): time 0.01598/0.2785, allocations: 6.735 MB / 491.4 MB, free: 29.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.2785, allocations: 102.1 kB / 491.5 MB, free: 29.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008795/0.2794, allocations: 0.8082 MB / 492.3 MB, free: 29.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001948/0.2796, allocations: 57.3 kB / 492.3 MB, free: 28.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000293/0.2799, allocations: 0.7543 MB / 493.1 MB, free: 28.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003497/0.2802, allocations: 0.6364 MB / 493.7 MB, free: 27.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003645/0.2806, allocations: 360.4 kB / 494.1 MB, free: 27.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.604e-05/0.2806, allocations: 303.2 kB / 494.4 MB, free: 27.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007813/0.2814, allocations: 0.6142 MB / 495 MB, free: 27.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009685/0.2824, allocations: 1.133 MB / 496.1 MB, free: 26.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001728/0.2841, allocations: 1.916 MB / 498 MB, free: 25.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.2841, allocations: 9.969 kB / 498 MB, free: 25.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.004072/0.2882, allocations: 2.469 MB / 0.4888 GB, free: 24.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.2882, allocations: 16.19 kB / 0.4888 GB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/0.2883, allocations: 16.8 kB / 0.4888 GB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001812/0.2901, allocations: 473.6 kB / 0.4893 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.2915, allocations: 0.517 MB / 0.4898 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005459/0.297, allocations: 7.213 MB / 0.4968 GB, free: 17.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.2983, allocations: 68.89 kB / 0.4969 GB, free: 17.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/0.2985, allocations: 100.4 kB / 0.497 GB, free: 17.7 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.0007045/0.2992, allocations: 375.7 kB / 0.4973 GB, free: 17.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002473/0.2994, allocations: 141.2 kB / 0.4975 GB, free: 17.37 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004086/0.3035, allocations: 2.429 MB / 0.4998 GB, free: 16.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.3035, allocations: 21.06 kB / 0.4999 GB, free: 16.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/0.3036, allocations: 4.672 kB / 0.4999 GB, free: 16.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.922e-05/0.3036, allocations: 12.34 kB / 0.4999 GB, free: 16.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005733/0.3093, allocations: 3.801 MB / 0.5036 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.3093, allocations: 0.6094 kB / 0.5036 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.3104, allocations: 396.8 kB / 0.504 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001555/0.3119, allocations: 458.7 kB / 0.5044 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/0.312, allocations: 50.23 kB / 0.5045 GB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004471/0.3165, allocations: 7.031 MB / 0.5113 GB, free: 5.855 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3165, allocations: 0 / 0.5113 GB, free: 5.855 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004312/0.3208, allocations: 3.147 MB / 0.5144 GB, free: 3.035 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003463/0.3212, allocations: 130.8 kB / 0.5145 GB, free: 2.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.3213, allocations: 32 kB / 0.5145 GB, free: 2.879 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004405/0.3217, allocations: 42.02 kB / 0.5146 GB, free: 2.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002345/0.3219, allocations: 151.6 kB / 0.5147 GB, free: 2.762 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.044e-05/0.322, allocations: 65.19 kB / 0.5148 GB, free: 2.707 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004334/0.3225, allocations: 0.5081 MB / 0.5153 GB, free: 2.266 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3225, allocations: 0 / 0.5153 GB, free: 2.266 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002721/0.3252, allocations: 1.074 MB / 0.5163 GB, free: 1.211 MB / 410.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.007441/0.3326, allocations: 4.795 MB / 0.521 GB, free: 12.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003023/0.3356, allocations: 2.136 MB / 0.5231 GB, free: 11.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.3356, allocations: 4 kB / 0.5231 GB, free: 11.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.337, allocations: 1.302 MB / 0.5244 GB, free: 9.832 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.3382, allocations: 310.6 kB / 0.5247 GB, free: 9.578 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01892/0.3571, allocations: 13.06 MB / 0.5374 GB, free: 12.07 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005539/0.3577, allocations: 0.6931 MB / 0.5381 GB, free: 11.34 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009925/0.3586, allocations: 350.5 kB / 0.5384 GB, free: 11 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007912/0.3594, allocations: 0.7775 MB / 0.5392 GB, free: 10.22 MB / 442.7 MB Notification: Performance of SimCode: time 1.402e-06/0.3594, allocations: 0 / 0.5392 GB, free: 10.22 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07768/0.4371, allocations: 53.61 MB / 0.5916 GB, free: 5.105 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.394/9.831, allocations: 10.61 kB / 0.5916 GB, free: 5.098 MB / 490.7 MB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file Chemical_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_Chemical_Obsolete_Examples_AcidBase_WaterSelfIonization.fmu > Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.805240123532712] Failed to read output from testmodel.py, exit status != 0: 9.944052821025252 9.951722288 9.715230609 Calling exit ...