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.001475/0.001475, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002015/0.002015, allocations: 209 kB / 22.24 MB, free: 5.262 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.444/1.444, allocations: 230.6 MB / 256 MB, free: 7.793 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.1364/0.1364, allocations: 24 MB / 336.4 MB, free: 10.85 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/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.002135/0.002135, allocations: 71.89 kB / 471.3 MB, free: 7.324 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3528, allocations: 59.88 MB / 0.5187 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.009005/0.3618, allocations: 7.446 MB / 0.526 GB, free: 4.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02955/0.3914, allocations: 21.31 MB / 0.5468 GB, free: 5.992 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002477/0.3938, allocations: 28.69 kB / 0.5468 GB, free: 5.977 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002443/0.3963, allocations: 468.6 kB / 0.5473 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009658/0.4059, allocations: 2.159 MB / 0.5494 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009729/0.4157, allocations: 3.064 MB / 0.5524 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003997/0.4197, allocations: 2.432 MB / 0.5548 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001558/0.4212, allocations: 1.127 MB / 0.5559 GB, free: 84 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001724/0.4229, allocations: 1.227 MB / 0.5571 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002154/0.4251, allocations: 1.229 MB / 0.5583 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004149/0.4255, allocations: 215.6 kB / 0.5585 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008451/0.434, allocations: 2.528 MB / 0.5609 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007737/0.4347, allocations: 0.5123 MB / 0.5614 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001545/0.4363, allocations: 0.9116 MB / 0.5623 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01211/0.4484, allocations: 5.237 MB / 0.5674 GB, free: 7.566 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.4484, allocations: 0 / 0.5674 GB, free: 7.566 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4484, allocations: 3.938 kB / 0.5675 GB, free: 7.562 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.594e-05/0.4485, allocations: 4 kB / 0.5675 GB, free: 7.559 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.00555/0.454, allocations: 2.627 MB / 0.57 GB, free: 4.887 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.4541, allocations: 8.031 kB / 0.57 GB, free: 4.879 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000325/0.4544, allocations: 249.5 kB / 0.5703 GB, free: 4.625 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001964/0.4563, allocations: 427 kB / 0.5707 GB, free: 4.207 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/0.4584, allocations: 0.9059 MB / 0.5716 GB, free: 3.273 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002301/0.4586, allocations: 246.9 kB / 0.5718 GB, free: 3.008 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003334/0.459, allocations: 180.3 kB / 0.572 GB, free: 2.832 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003825/0.4628, allocations: 2.092 MB / 0.574 GB, free: 0.707 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.8e-05/0.4628, allocations: 4 kB / 0.574 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001835/0.463, allocations: 75.98 kB / 0.5741 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.758e-05/0.463, allocations: 44 kB / 0.5741 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004484/0.4675, allocations: 2.577 MB / 0.5766 GB, free: 14.01 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.01164/0.4792, allocations: 5.441 MB / 0.582 GB, free: 8.445 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005083/0.4843, allocations: 2.546 MB / 0.5844 GB, free: 5.891 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/0.4858, allocations: 0.8314 MB / 0.5853 GB, free: 5.051 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01014/0.4959, allocations: 4.258 MB / 0.5894 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.122e-05/0.496, allocations: 63.75 kB / 0.5895 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of pre-optimization done (n=144): time 4.559e-06/0.496, allocations: 0 / 0.5895 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of matching and sorting (n=180): time 0.03027/0.5263, allocations: 6.728 MB / 0.596 GB, free: 9.898 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.525e-05/0.5264, allocations: 95.11 kB / 0.5961 GB, free: 9.785 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.5275, allocations: 0.8117 MB / 0.5969 GB, free: 8.949 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001721/0.5277, allocations: 53.7 kB / 0.597 GB, free: 8.891 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005818/0.5282, allocations: 0.7663 MB / 0.5977 GB, free: 8.113 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006214/0.5289, allocations: 0.6351 MB / 0.5983 GB, free: 7.473 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005616/0.5294, allocations: 363.5 kB / 0.5987 GB, free: 7.109 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.5296, allocations: 309.1 kB / 0.599 GB, free: 6.805 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/0.5307, allocations: 0.617 MB / 0.5996 GB, free: 6.184 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/0.5324, allocations: 1.126 MB / 0.6007 GB, free: 4.832 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003125/0.5356, allocations: 1.917 MB / 0.6026 GB, free: 2.699 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.5356, allocations: 8 kB / 0.6026 GB, free: 2.691 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.00775/0.5433, allocations: 2.468 MB / 0.605 GB, free: 208 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/0.5434, allocations: 15.94 kB / 0.605 GB, free: 192 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.318e-05/0.5434, allocations: 16 kB / 0.605 GB, free: 176 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00382/0.5472, allocations: 479.5 kB / 0.6055 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002587/0.5498, allocations: 0.5266 MB / 0.606 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01203/0.5618, allocations: 7.212 MB / 0.613 GB, free: 7.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/0.5638, allocations: 64.06 kB / 0.6131 GB, free: 7.438 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003857/0.5642, allocations: 104 kB / 0.6132 GB, free: 7.336 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.0011/0.5653, allocations: 377.1 kB / 0.6135 GB, free: 6.957 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004639/0.5657, allocations: 139.1 kB / 0.6137 GB, free: 6.82 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007824/0.5736, allocations: 2.425 MB / 0.616 GB, free: 4.383 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-05/0.5736, allocations: 24 kB / 0.6161 GB, free: 4.359 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.5736, allocations: 3.984 kB / 0.6161 GB, free: 4.355 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.408e-05/0.5736, allocations: 11.97 kB / 0.6161 GB, free: 4.344 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01007/0.5837, allocations: 3.8 MB / 0.6198 GB, free: 492 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/0.5837, allocations: 4 kB / 0.6198 GB, free: 488 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002205/0.5859, allocations: 391.5 kB / 0.6202 GB, free: 96 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003711/0.5896, allocations: 454.9 kB / 0.6206 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002315/0.5898, allocations: 51.97 kB / 0.6207 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01082/0.6007, allocations: 7.048 MB / 0.6275 GB, free: 8.082 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.6007, allocations: 0 / 0.6275 GB, free: 8.082 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008896/0.6096, allocations: 3.144 MB / 0.6306 GB, free: 4.91 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004421/0.61, allocations: 131 kB / 0.6307 GB, free: 4.781 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001998/0.6102, allocations: 35.94 kB / 0.6308 GB, free: 4.746 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008852/0.6111, allocations: 39.98 kB / 0.6308 GB, free: 4.707 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003658/0.6115, allocations: 145.7 kB / 0.6309 GB, free: 4.562 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/0.6116, allocations: 63.97 kB / 0.631 GB, free: 4.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007444/0.6123, allocations: 0.5079 MB / 0.6315 GB, free: 3.98 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6123, allocations: 0 / 0.6315 GB, free: 3.98 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0033/0.6156, allocations: 1.072 MB / 0.6326 GB, free: 2.906 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.01176/0.6274, allocations: 4.767 MB / 0.6372 GB, free: 14.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004673/0.6321, allocations: 2.144 MB / 0.6393 GB, free: 11.91 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.6321, allocations: 0 / 0.6393 GB, free: 11.91 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002282/0.6344, allocations: 1.303 MB / 0.6406 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00161/0.636, allocations: 306.8 kB / 0.6409 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02902/0.665, allocations: 13.13 MB / 0.6537 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009172/0.6659, allocations: 0.6931 MB / 0.6544 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001554/0.6675, allocations: 358.3 kB / 0.6547 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001248/0.6687, allocations: 0.7725 MB / 0.6555 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of SimCode: time 1.223e-06/0.6687, allocations: 0 / 0.6555 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1357/0.8044, allocations: 53.41 MB / 0.7076 GB, free: 5.695 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.31/16.11, allocations: 10.97 kB / 0.7076 GB, free: 5.688 MB / 0.545 GB " [Timeout remaining time 644] (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: 18.86217797966674] Failed to read output from testmodel.py, exit status != 0: 16.265118428040296 16.294750303 15.840669002 Calling exit ...