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.001258/0.001258, allocations: 103.8 kB / 18.95 MB, free: 2.691 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.00139/0.00139, allocations: 217.6 kB / 22.25 MB, free: 5.238 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.385/1.385, allocations: 230.6 MB / 256 MB, free: 7.785 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.1378/0.1378, allocations: 23.88 MB / 336.3 MB, free: 10.96 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.001926/0.001926, allocations: 75.83 kB / 471.1 MB, free: 7.496 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.303, allocations: 59.85 MB / 0.5185 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.007752/0.3107, allocations: 7.46 MB / 0.5258 GB, free: 4.617 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02747/0.3382, allocations: 21.31 MB / 0.5466 GB, free: 6.094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002071/0.3403, allocations: 29.25 kB / 0.5467 GB, free: 6.078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001723/0.342, allocations: 474.2 kB / 0.5471 GB, free: 5.832 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008679/0.3507, allocations: 2.149 MB / 0.5492 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01143/0.3621, allocations: 3.069 MB / 0.5522 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004824/0.3669, allocations: 2.438 MB / 0.5546 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002144/0.3691, allocations: 1.143 MB / 0.5557 GB, free: 196 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002256/0.3713, allocations: 1.222 MB / 0.5569 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00288/0.3742, allocations: 1.365 MB / 0.5582 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005125/0.3747, allocations: 215.5 kB / 0.5584 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0108/0.3855, allocations: 2.598 MB / 0.561 GB, free: 13.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009891/0.3865, allocations: 0.5131 MB / 0.5615 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001666/0.3882, allocations: 0.9172 MB / 0.5624 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01226/0.4004, allocations: 5.237 MB / 0.5675 GB, free: 7.543 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4004, allocations: 0 / 0.5675 GB, free: 7.543 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4004, allocations: 0 / 0.5675 GB, free: 7.543 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.685e-05/0.4005, allocations: 0 / 0.5675 GB, free: 7.543 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.005008/0.4055, allocations: 2.635 MB / 0.57 GB, free: 4.863 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.4055, allocations: 12.03 kB / 0.5701 GB, free: 4.852 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002878/0.4058, allocations: 249.5 kB / 0.5703 GB, free: 4.598 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/0.4075, allocations: 423 kB / 0.5707 GB, free: 4.184 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/0.4092, allocations: 0.9059 MB / 0.5716 GB, free: 3.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002227/0.4094, allocations: 246.9 kB / 0.5718 GB, free: 2.984 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002975/0.4097, allocations: 184.3 kB / 0.572 GB, free: 2.805 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003307/0.413, allocations: 2.088 MB / 0.574 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.584e-05/0.413, allocations: 0 / 0.574 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001687/0.4132, allocations: 72 kB / 0.5741 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.268e-05/0.4132, allocations: 40 kB / 0.5741 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004086/0.4173, allocations: 2.58 MB / 0.5767 GB, free: 13.99 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.01048/0.4278, allocations: 5.457 MB / 0.582 GB, free: 8.414 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00451/0.4323, allocations: 2.537 MB / 0.5845 GB, free: 5.859 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001306/0.4336, allocations: 0.8309 MB / 0.5853 GB, free: 5.027 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009417/0.443, allocations: 4.255 MB / 0.5894 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.4431, allocations: 55.75 kB / 0.5895 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of pre-optimization done (n=144): time 3.827e-06/0.4431, allocations: 0 / 0.5895 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of matching and sorting (n=180): time 0.02721/0.4703, allocations: 6.739 MB / 0.5961 GB, free: 9.871 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.45e-05/0.4704, allocations: 95.11 kB / 0.5962 GB, free: 9.758 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.4714, allocations: 0.8155 MB / 0.597 GB, free: 8.918 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001787/0.4716, allocations: 53.7 kB / 0.597 GB, free: 8.859 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005585/0.4722, allocations: 0.7624 MB / 0.5978 GB, free: 8.086 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006015/0.4728, allocations: 0.6352 MB / 0.5984 GB, free: 7.445 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005262/0.4733, allocations: 359.5 kB / 0.5987 GB, free: 7.086 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.4734, allocations: 309 kB / 0.599 GB, free: 6.781 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/0.4745, allocations: 0.617 MB / 0.5996 GB, free: 6.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001561/0.4761, allocations: 1.133 MB / 0.6007 GB, free: 4.801 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002871/0.479, allocations: 1.917 MB / 0.6026 GB, free: 2.668 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.477e-05/0.479, allocations: 4 kB / 0.6026 GB, free: 2.664 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007043/0.486, allocations: 2.468 MB / 0.605 GB, free: 184 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/0.486, allocations: 14.5 kB / 0.605 GB, free: 172 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.901e-05/0.4861, allocations: 28.11 kB / 0.605 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003508/0.4896, allocations: 466.9 kB / 0.6055 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002371/0.492, allocations: 0.5266 MB / 0.606 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01051/0.5025, allocations: 7.217 MB / 0.6131 GB, free: 7.473 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.5039, allocations: 60 kB / 0.6131 GB, free: 7.414 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002035/0.5041, allocations: 99.97 kB / 0.6132 GB, free: 7.316 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.0007024/0.5048, allocations: 373.1 kB / 0.6136 GB, free: 6.941 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000329/0.5051, allocations: 143.2 kB / 0.6137 GB, free: 6.801 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007144/0.5123, allocations: 2.43 MB / 0.6161 GB, free: 4.352 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.898e-05/0.5123, allocations: 16 kB / 0.6161 GB, free: 4.336 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.5123, allocations: 4 kB / 0.6161 GB, free: 4.332 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.163e-05/0.5123, allocations: 11.95 kB / 0.6161 GB, free: 4.32 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009408/0.5217, allocations: 3.8 MB / 0.6198 GB, free: 472 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.5217, allocations: 0 / 0.6198 GB, free: 472 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001972/0.5237, allocations: 391.6 kB / 0.6202 GB, free: 80 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003454/0.5272, allocations: 458.9 kB / 0.6206 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001553/0.5273, allocations: 55.97 kB / 0.6207 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009697/0.537, allocations: 7.04 MB / 0.6276 GB, free: 8.066 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.537, allocations: 0 / 0.6276 GB, free: 8.066 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007972/0.545, allocations: 3.159 MB / 0.6306 GB, free: 4.879 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000376/0.5454, allocations: 123 kB / 0.6308 GB, free: 4.758 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/0.5456, allocations: 35.94 kB / 0.6308 GB, free: 4.723 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007897/0.5463, allocations: 36 kB / 0.6308 GB, free: 4.688 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003201/0.5467, allocations: 145.7 kB / 0.631 GB, free: 4.543 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/0.5468, allocations: 63.97 kB / 0.631 GB, free: 4.48 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006722/0.5475, allocations: 0.504 MB / 0.6315 GB, free: 3.965 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5475, allocations: 4 kB / 0.6315 GB, free: 3.961 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002975/0.5505, allocations: 1.075 MB / 0.6326 GB, free: 2.883 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.01025/0.5607, allocations: 4.76 MB / 0.6372 GB, free: 14.08 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00378/0.5645, allocations: 2.152 MB / 0.6393 GB, free: 11.88 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5645, allocations: 4 kB / 0.6393 GB, free: 11.88 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002012/0.5665, allocations: 1.299 MB / 0.6406 GB, free: 10.53 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/0.568, allocations: 302.2 kB / 0.6409 GB, free: 10.24 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02768/0.5957, allocations: 13.14 MB / 0.6537 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007891/0.5965, allocations: 0.7009 MB / 0.6544 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001374/0.5978, allocations: 346.4 kB / 0.6547 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/0.599, allocations: 0.7686 MB / 0.6555 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of SimCode: time 1.192e-06/0.599, allocations: 4 kB / 0.6555 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1132/0.7121, allocations: 53.98 MB / 0.7082 GB, free: 5.09 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.13/14.84, allocations: 8.047 kB / 0.7082 GB, free: 5.082 MB / 0.545 GB " [Timeout remaining time 645] (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: 17.517769150988897] Failed to read output from testmodel.py, exit status != 0: 14.986193296994315 15.014545142 14.60872924 Calling exit ...