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.001335/0.001335, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.001625/0.001625, allocations: 214.8 kB / 22.24 MB, free: 5.246 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.441/1.441, allocations: 230.6 MB / 256 MB, free: 7.789 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.1442/0.1442, allocations: 23.89 MB / 336.3 MB, free: 11.04 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.002156/0.002156, allocations: 59.91 kB / 471.1 MB, free: 7.5 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3104, allocations: 59.87 MB / 0.5185 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.007405/0.3178, allocations: 7.443 MB / 0.5258 GB, free: 4.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02747/0.3453, allocations: 21.31 MB / 0.5466 GB, free: 6.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001686/0.347, allocations: 29.91 kB / 0.5466 GB, free: 6.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001599/0.3486, allocations: 480.6 kB / 0.5471 GB, free: 5.973 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007658/0.3562, allocations: 2.149 MB / 0.5492 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009869/0.3661, allocations: 3.069 MB / 0.5522 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003891/0.37, allocations: 2.437 MB / 0.5546 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001477/0.3715, allocations: 1.115 MB / 0.5557 GB, free: 332 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001648/0.3731, allocations: 1.234 MB / 0.5569 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001822/0.3749, allocations: 1.228 MB / 0.5581 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003371/0.3753, allocations: 215.2 kB / 0.5583 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007632/0.3829, allocations: 2.521 MB / 0.5607 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006852/0.3836, allocations: 0.5131 MB / 0.5612 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00132/0.3849, allocations: 0.9096 MB / 0.5621 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01133/0.3962, allocations: 5.237 MB / 0.5672 GB, free: 7.934 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3962, allocations: 0 / 0.5672 GB, free: 7.934 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3962, allocations: 0 / 0.5672 GB, free: 7.934 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.642e-05/0.3963, allocations: 0 / 0.5672 GB, free: 7.934 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.0053/0.4016, allocations: 2.639 MB / 0.5698 GB, free: 5.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.4016, allocations: 12.03 kB / 0.5698 GB, free: 5.238 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003128/0.4019, allocations: 249.5 kB / 0.5701 GB, free: 4.984 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001837/0.4038, allocations: 423 kB / 0.5705 GB, free: 4.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001793/0.4056, allocations: 0.906 MB / 0.5714 GB, free: 3.637 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002204/0.4058, allocations: 242.9 kB / 0.5716 GB, free: 3.375 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003255/0.4061, allocations: 184.3 kB / 0.5718 GB, free: 3.195 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003452/0.4096, allocations: 2.092 MB / 0.5738 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.652e-05/0.4096, allocations: 3.938 kB / 0.5738 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001772/0.4098, allocations: 76 kB / 0.5739 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.343e-05/0.4098, allocations: 43.94 kB / 0.5739 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004244/0.4141, allocations: 2.577 MB / 0.5764 GB, free: 14.37 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.01059/0.4247, allocations: 5.453 MB / 0.5818 GB, free: 8.797 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004701/0.4294, allocations: 2.539 MB / 0.5842 GB, free: 6.246 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/0.4308, allocations: 0.831 MB / 0.5851 GB, free: 5.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009814/0.4406, allocations: 4.259 MB / 0.5892 GB, free: 1.121 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.4406, allocations: 51.81 kB / 0.5893 GB, free: 1.062 MB / 430.1 MB Notification: Performance of pre-optimization done (n=144): time 3.236e-06/0.4406, allocations: 0 / 0.5893 GB, free: 1.062 MB / 430.1 MB Notification: Performance of matching and sorting (n=180): time 0.02918/0.4698, allocations: 6.744 MB / 0.5959 GB, free: 10.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.602e-05/0.4699, allocations: 95.11 kB / 0.5959 GB, free: 10.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.4709, allocations: 0.8117 MB / 0.5967 GB, free: 9.305 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001395/0.4711, allocations: 57.7 kB / 0.5968 GB, free: 9.242 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005794/0.4717, allocations: 0.7546 MB / 0.5975 GB, free: 8.477 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005965/0.4723, allocations: 0.643 MB / 0.5982 GB, free: 7.828 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005611/0.4728, allocations: 363.5 kB / 0.5985 GB, free: 7.465 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.473, allocations: 305.1 kB / 0.5988 GB, free: 7.164 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001172/0.4741, allocations: 0.617 MB / 0.5994 GB, free: 6.543 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00165/0.4758, allocations: 1.133 MB / 0.6005 GB, free: 5.184 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002969/0.4788, allocations: 1.913 MB / 0.6024 GB, free: 3.055 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.4788, allocations: 4 kB / 0.6024 GB, free: 3.051 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.00756/0.4863, allocations: 2.472 MB / 0.6048 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.4863, allocations: 12 kB / 0.6048 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-05/0.4864, allocations: 20 kB / 0.6048 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003738/0.4901, allocations: 471.3 kB / 0.6053 GB, free: 56 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002489/0.4926, allocations: 0.5228 MB / 0.6058 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/0.5038, allocations: 7.213 MB / 0.6128 GB, free: 7.859 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.5052, allocations: 67.92 kB / 0.6129 GB, free: 7.793 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002059/0.5054, allocations: 100 kB / 0.613 GB, free: 7.695 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.0007395/0.5061, allocations: 385 kB / 0.6134 GB, free: 7.309 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003446/0.5065, allocations: 139.1 kB / 0.6135 GB, free: 7.172 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00779/0.5143, allocations: 2.43 MB / 0.6159 GB, free: 4.727 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.5143, allocations: 16 kB / 0.6159 GB, free: 4.711 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.5143, allocations: 4 kB / 0.6159 GB, free: 4.707 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.276e-05/0.5143, allocations: 11.97 kB / 0.6159 GB, free: 4.695 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/0.5243, allocations: 3.8 MB / 0.6196 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.5243, allocations: 0 / 0.6196 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002104/0.5264, allocations: 387.5 kB / 0.62 GB, free: 468 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003766/0.5302, allocations: 466.8 kB / 0.6204 GB, free: 15.99 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001852/0.5304, allocations: 51.98 kB / 0.6205 GB, free: 15.94 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01049/0.5409, allocations: 7.044 MB / 0.6273 GB, free: 8.438 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.5409, allocations: 8.094 kB / 0.6273 GB, free: 8.43 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008647/0.5495, allocations: 3.128 MB / 0.6304 GB, free: 5.273 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003848/0.5499, allocations: 127 kB / 0.6305 GB, free: 5.148 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002023/0.5501, allocations: 35.94 kB / 0.6306 GB, free: 5.113 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008707/0.551, allocations: 43.98 kB / 0.6306 GB, free: 5.07 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003329/0.5513, allocations: 145.7 kB / 0.6307 GB, free: 4.926 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/0.5515, allocations: 67.97 kB / 0.6308 GB, free: 4.859 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007039/0.5522, allocations: 0.5079 MB / 0.6313 GB, free: 4.34 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5522, allocations: 0 / 0.6313 GB, free: 4.34 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003203/0.5554, allocations: 1.072 MB / 0.6323 GB, free: 3.266 MB / 478.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.01136/0.5667, allocations: 4.767 MB / 0.637 GB, free: 14.46 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004258/0.571, allocations: 2.136 MB / 0.6391 GB, free: 12.27 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.571, allocations: 8 kB / 0.6391 GB, free: 12.27 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002313/0.5733, allocations: 1.295 MB / 0.6404 GB, free: 10.92 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/0.575, allocations: 310.6 kB / 0.6407 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02839/0.6034, allocations: 13.13 MB / 0.6535 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007887/0.6042, allocations: 0.6931 MB / 0.6542 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001458/0.6056, allocations: 365.9 kB / 0.6545 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/0.6068, allocations: 0.7725 MB / 0.6553 GB, free: 11 MB / 0.4981 GB Notification: Performance of SimCode: time 9.32e-07/0.6068, allocations: 4 kB / 0.6553 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1391/0.746, allocations: 53.4 MB / 0.7074 GB, free: 6.055 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.46/16.21, allocations: 10.89 kB / 0.7074 GB, free: 6.047 MB / 0.545 GB " [Timeout remaining time 644] (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: 18.979901309125125] Failed to read output from testmodel.py, exit status != 0: 16.361339713912457 16.387276171 15.986092216 Calling exit ...