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.001452/0.001452, allocations: 111 kB / 16.46 MB, free: 6.453 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.0016/0.0016, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.516/1.516, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.1415/0.1415, allocations: 23.88 MB / 332.7 MB, free: 12.33 MB / 270.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization,fileNamePrefix="Chemical_master_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.002137/0.002137, allocations: 67.89 kB / 466 MB, free: 10.04 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3655, allocations: 59.82 MB / 0.5135 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.009059/0.3746, allocations: 8.468 MB / 0.5218 GB, free: 3.016 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02985/0.4044, allocations: 24.29 MB / 0.5455 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001421/0.4058, allocations: 28.84 kB / 0.5456 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001478/0.4073, allocations: 0.5132 MB / 0.5461 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006586/0.4139, allocations: 2.174 MB / 0.5482 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00935/0.4232, allocations: 3.022 MB / 0.5511 GB, free: 13.87 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004618/0.4279, allocations: 2.445 MB / 0.5535 GB, free: 12.44 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001943/0.4298, allocations: 1.163 MB / 0.5547 GB, free: 11.58 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00213/0.4319, allocations: 1.224 MB / 0.5558 GB, free: 11.01 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002579/0.4345, allocations: 1.365 MB / 0.5572 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005132/0.435, allocations: 219.7 kB / 0.5574 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01049/0.4455, allocations: 2.685 MB / 0.56 GB, free: 9.211 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001028/0.4465, allocations: 0.513 MB / 0.5605 GB, free: 8.793 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002441/0.449, allocations: 1.083 MB / 0.5616 GB, free: 8.066 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01504/0.464, allocations: 5.249 MB / 0.5667 GB, free: 4.566 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.464, allocations: 0 / 0.5667 GB, free: 4.566 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.464, allocations: 0 / 0.5667 GB, free: 4.566 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.532e-05/0.4641, allocations: 0 / 0.5667 GB, free: 4.566 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.00652/0.4706, allocations: 2.714 MB / 0.5693 GB, free: 1.789 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.4707, allocations: 12.03 kB / 0.5694 GB, free: 1.777 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003388/0.471, allocations: 249.5 kB / 0.5696 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001986/0.473, allocations: 419 kB / 0.57 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/0.4748, allocations: 0.9716 MB / 0.5709 GB, free: 100 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002117/0.475, allocations: 191.5 kB / 0.5711 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003507/0.4754, allocations: 188.3 kB / 0.5713 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003918/0.4793, allocations: 2.085 MB / 0.5733 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/0.4793, allocations: 0 / 0.5733 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002121/0.4796, allocations: 72 kB / 0.5734 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.114e-05/0.4796, allocations: 47.94 kB / 0.5735 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004772/0.4844, allocations: 2.608 MB / 0.576 GB, free: 10.87 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.01596/0.5003, allocations: 6.66 MB / 0.5825 GB, free: 3.926 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005652/0.506, allocations: 3.032 MB / 0.5855 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001745/0.5077, allocations: 0.8391 MB / 0.5863 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01366/0.5214, allocations: 8.155 MB / 0.5943 GB, free: 6.844 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/0.5214, allocations: 47.81 kB / 0.5943 GB, free: 6.789 MB / 446.1 MB Notification: Performance of pre-optimization done (n=144): time 2.976e-06/0.5214, allocations: 0 / 0.5943 GB, free: 6.789 MB / 446.1 MB Notification: Performance of matching and sorting (n=180): time 0.03206/0.5535, allocations: 7.034 MB / 0.6012 GB, free: 15.61 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.902e-05/0.5536, allocations: 99.11 kB / 0.6013 GB, free: 15.49 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.5549, allocations: 0.7885 MB / 0.602 GB, free: 14.68 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002417/0.5551, allocations: 57.7 kB / 0.6021 GB, free: 14.61 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006617/0.5558, allocations: 0.7545 MB / 0.6028 GB, free: 13.85 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008513/0.5566, allocations: 0.6391 MB / 0.6034 GB, free: 13.21 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008198/0.5574, allocations: 367.4 kB / 0.6038 GB, free: 12.84 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.5576, allocations: 309.1 kB / 0.6041 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/0.559, allocations: 0.617 MB / 0.6047 GB, free: 11.91 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00196/0.561, allocations: 1.133 MB / 0.6058 GB, free: 10.55 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003688/0.5647, allocations: 1.909 MB / 0.6077 GB, free: 8.43 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-05/0.5647, allocations: 11.98 kB / 0.6077 GB, free: 8.418 MB / 462.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008626/0.5733, allocations: 2.472 MB / 0.6101 GB, free: 5.926 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/0.5733, allocations: 12 kB / 0.6101 GB, free: 5.914 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.766e-05/0.5734, allocations: 16 kB / 0.6101 GB, free: 5.898 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004084/0.5774, allocations: 475.1 kB / 0.6106 GB, free: 5.422 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002851/0.5803, allocations: 0.5188 MB / 0.6111 GB, free: 4.902 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01256/0.5928, allocations: 7.682 MB / 0.6186 GB, free: 12.67 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.5944, allocations: 67.98 kB / 0.6186 GB, free: 12.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003207/0.5947, allocations: 99.98 kB / 0.6187 GB, free: 12.5 MB / 478.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.0009448/0.5957, allocations: 380.4 kB / 0.6191 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000458/0.5961, allocations: 139.1 kB / 0.6192 GB, free: 11.99 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008693/0.6048, allocations: 2.433 MB / 0.6216 GB, free: 9.543 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-05/0.6049, allocations: 28.08 kB / 0.6216 GB, free: 9.516 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.6049, allocations: 0 / 0.6216 GB, free: 9.516 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-05/0.6049, allocations: 7.969 kB / 0.6216 GB, free: 9.508 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01159/0.6165, allocations: 4.066 MB / 0.6256 GB, free: 5.371 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-05/0.6165, allocations: 4 kB / 0.6256 GB, free: 5.367 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002384/0.6189, allocations: 387.5 kB / 0.626 GB, free: 4.988 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004078/0.623, allocations: 458.9 kB / 0.6264 GB, free: 4.527 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003522/0.6233, allocations: 55.91 kB / 0.6265 GB, free: 4.473 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01236/0.6357, allocations: 7.539 MB / 0.6338 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6357, allocations: 0 / 0.6338 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009524/0.6452, allocations: 3.132 MB / 0.6369 GB, free: 9.219 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000427/0.6456, allocations: 204.1 kB / 0.6371 GB, free: 9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003097/0.646, allocations: 47.92 kB / 0.6371 GB, free: 8.953 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.647, allocations: 36 kB / 0.6372 GB, free: 8.918 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003736/0.6473, allocations: 141.7 kB / 0.6373 GB, free: 8.781 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001709/0.6475, allocations: 63.98 kB / 0.6374 GB, free: 8.719 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007855/0.6483, allocations: 0.504 MB / 0.6379 GB, free: 8.203 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6483, allocations: 0 / 0.6379 GB, free: 8.203 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003482/0.6518, allocations: 1.075 MB / 0.6389 GB, free: 7.125 MB / 494.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.0125/0.6643, allocations: 4.767 MB / 0.6436 GB, free: 2.316 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004536/0.6688, allocations: 2.144 MB / 0.6457 GB, free: 124 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.6688, allocations: 0 / 0.6457 GB, free: 124 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002445/0.6713, allocations: 1.299 MB / 0.6469 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/0.6731, allocations: 313.2 kB / 0.6472 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03255/0.7056, allocations: 13.14 MB / 0.6601 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/0.7069, allocations: 1.28 MB / 0.6613 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001476/0.7084, allocations: 346.3 kB / 0.6616 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001301/0.7097, allocations: 0.7686 MB / 0.6624 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of SimCode: time 1.753e-06/0.7097, allocations: 8 kB / 0.6624 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1207/0.8304, allocations: 51.35 MB / 0.7126 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.61/23.44, allocations: 23.03 kB / 0.7126 GB, free: 11.24 MB / 0.5606 GB " [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 & python3 -m fmpy simulate --output-file Chemical_master_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_master_Chemical_Obsolete_Examples_AcidBase_WaterSelfIonization.fmu > Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 78.51523039420135] Failed to read output from testmodel.py, exit status != 0: 23.577826898079365 23.790336526 23.136063834 Calling exit ...