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.001847/0.001847, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002403/0.002403, allocations: 220 kB / 22.25 MB, free: 5.258 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.578/1.578, allocations: 230.6 MB / 256 MB, free: 7.82 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.1773/0.1773, allocations: 23.88 MB / 336.3 MB, free: 10.98 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.002618/0.002618, allocations: 71.89 kB / 471.1 MB, free: 7.516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3826, allocations: 59.86 MB / 0.5185 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.01186/0.3945, allocations: 7.443 MB / 0.5258 GB, free: 4.609 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04379/0.4383, allocations: 21.31 MB / 0.5466 GB, free: 6.082 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002845/0.4411, allocations: 28.16 kB / 0.5466 GB, free: 6.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003228/0.4444, allocations: 477.7 kB / 0.5471 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01323/0.4576, allocations: 2.149 MB / 0.5492 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01863/0.4762, allocations: 3.067 MB / 0.5522 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006792/0.483, allocations: 2.438 MB / 0.5546 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003459/0.4865, allocations: 1.139 MB / 0.5557 GB, free: 184 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004348/0.4908, allocations: 1.234 MB / 0.5569 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005085/0.4959, allocations: 1.368 MB / 0.5582 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001254/0.4972, allocations: 215.7 kB / 0.5584 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01346/0.5106, allocations: 2.587 MB / 0.561 GB, free: 13.9 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001307/0.5119, allocations: 0.5132 MB / 0.5615 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003268/0.5152, allocations: 0.9149 MB / 0.5624 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01971/0.5349, allocations: 5.233 MB / 0.5675 GB, free: 7.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.718e-06/0.5349, allocations: 0 / 0.5675 GB, free: 7.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.5349, allocations: 0 / 0.5675 GB, free: 7.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001099/0.535, allocations: 0 / 0.5675 GB, free: 7.57 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.007266/0.5423, allocations: 2.643 MB / 0.57 GB, free: 4.883 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/0.5423, allocations: 8.031 kB / 0.5701 GB, free: 4.875 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003696/0.5427, allocations: 257.4 kB / 0.5703 GB, free: 4.613 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00212/0.5448, allocations: 419 kB / 0.5707 GB, free: 4.203 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/0.5468, allocations: 0.9138 MB / 0.5716 GB, free: 3.262 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002361/0.5471, allocations: 242.9 kB / 0.5718 GB, free: 3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003531/0.5474, allocations: 184.3 kB / 0.572 GB, free: 2.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00391/0.5513, allocations: 2.088 MB / 0.574 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.263e-05/0.5514, allocations: 3.984 kB / 0.574 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001925/0.5516, allocations: 72 kB / 0.5741 GB, free: 0.625 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.736e-05/0.5516, allocations: 44 kB / 0.5742 GB, free: 0.582 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004582/0.5562, allocations: 2.577 MB / 0.5767 GB, free: 14 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.01189/0.5681, allocations: 5.453 MB / 0.582 GB, free: 8.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005112/0.5732, allocations: 2.531 MB / 0.5845 GB, free: 5.883 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00156/0.5747, allocations: 0.8387 MB / 0.5853 GB, free: 5.043 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01052/0.5853, allocations: 4.255 MB / 0.5894 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.805e-05/0.5853, allocations: 55.8 kB / 0.5895 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of pre-optimization done (n=144): time 4.338e-06/0.5853, allocations: 0 / 0.5895 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of matching and sorting (n=180): time 0.03467/0.62, allocations: 6.742 MB / 0.5961 GB, free: 9.883 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.99e-05/0.6201, allocations: 99.11 kB / 0.5962 GB, free: 9.766 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.6212, allocations: 0.8116 MB / 0.597 GB, free: 8.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002522/0.6215, allocations: 57.7 kB / 0.597 GB, free: 8.867 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006132/0.6221, allocations: 0.7507 MB / 0.5978 GB, free: 8.105 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006823/0.6228, allocations: 0.6391 MB / 0.5984 GB, free: 7.461 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005936/0.6234, allocations: 363.5 kB / 0.5987 GB, free: 7.098 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.6235, allocations: 305.1 kB / 0.599 GB, free: 6.797 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001314/0.6248, allocations: 0.617 MB / 0.5996 GB, free: 6.176 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001799/0.6266, allocations: 1.133 MB / 0.6007 GB, free: 4.816 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003411/0.6301, allocations: 1.921 MB / 0.6026 GB, free: 2.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/0.6301, allocations: 4 kB / 0.6026 GB, free: 2.676 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.009005/0.6391, allocations: 2.464 MB / 0.605 GB, free: 200 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.017e-05/0.6391, allocations: 12 kB / 0.605 GB, free: 188 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.556e-05/0.6391, allocations: 20.16 kB / 0.605 GB, free: 168 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004629/0.6438, allocations: 474.8 kB / 0.6055 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002872/0.6466, allocations: 0.5188 MB / 0.606 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01254/0.6592, allocations: 7.217 MB / 0.613 GB, free: 7.496 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.6608, allocations: 67.98 kB / 0.6131 GB, free: 7.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000208/0.661, allocations: 99.98 kB / 0.6132 GB, free: 7.332 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.0007624/0.6618, allocations: 377.1 kB / 0.6136 GB, free: 6.953 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003616/0.6621, allocations: 147.2 kB / 0.6137 GB, free: 6.809 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008785/0.6709, allocations: 2.43 MB / 0.6161 GB, free: 4.359 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.506e-05/0.6709, allocations: 20 kB / 0.6161 GB, free: 4.34 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.6709, allocations: 0 / 0.6161 GB, free: 4.34 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-05/0.671, allocations: 7.969 kB / 0.6161 GB, free: 4.332 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01107/0.682, allocations: 3.8 MB / 0.6198 GB, free: 484 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.74e-05/0.682, allocations: 0 / 0.6198 GB, free: 484 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002292/0.6843, allocations: 387.5 kB / 0.6202 GB, free: 96 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004479/0.6888, allocations: 466.8 kB / 0.6206 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002968/0.6891, allocations: 51.98 kB / 0.6207 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01137/0.7005, allocations: 7.044 MB / 0.6276 GB, free: 8.074 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.7005, allocations: 0 / 0.6276 GB, free: 8.074 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009697/0.7102, allocations: 3.136 MB / 0.6306 GB, free: 4.91 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004266/0.7106, allocations: 127 kB / 0.6307 GB, free: 4.785 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000229/0.7108, allocations: 35.94 kB / 0.6308 GB, free: 4.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009262/0.7118, allocations: 39.98 kB / 0.6308 GB, free: 4.711 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003842/0.7121, allocations: 149.7 kB / 0.631 GB, free: 4.562 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001522/0.7123, allocations: 63.97 kB / 0.631 GB, free: 4.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007326/0.713, allocations: 0.504 MB / 0.6315 GB, free: 3.984 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.713, allocations: 3.938 kB / 0.6315 GB, free: 3.98 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00365/0.7167, allocations: 1.075 MB / 0.6326 GB, free: 2.902 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.01275/0.7294, allocations: 4.763 MB / 0.6372 GB, free: 14.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004565/0.734, allocations: 2.14 MB / 0.6393 GB, free: 11.91 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.734, allocations: 0 / 0.6393 GB, free: 11.91 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00244/0.7364, allocations: 1.306 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.001629/0.7381, allocations: 317 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.03181/0.7699, 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.0009197/0.7708, allocations: 0.6931 MB / 0.6544 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001529/0.7723, allocations: 354.4 kB / 0.6547 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001226/0.7736, allocations: 0.7764 MB / 0.6555 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of SimCode: time 1.643e-06/0.7736, allocations: 0 / 0.6555 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1352/0.9088, allocations: 53.98 MB / 0.7082 GB, free: 5.109 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.41/16.32, allocations: 3.984 kB / 0.7082 GB, free: 5.105 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_AcidBase_WaterSelfIonization_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 19.331027487001847] Failed to read output from testmodel.py, exit status != 0: 16.499047838005936 16.51387237 15.975161848 Calling exit ...