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.001453/0.001453, 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.001436/0.001436, allocations: 210.5 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.453/1.453, 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 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.1405/0.1405, allocations: 23.88 MB / 336.3 MB, free: 10.94 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.003151/0.003151, allocations: 67.91 kB / 471.1 MB, free: 7.473 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3127, allocations: 59.86 MB / 0.5185 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.00748/0.3202, allocations: 7.445 MB / 0.5258 GB, free: 4.617 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02924/0.3494, allocations: 21.32 MB / 0.5466 GB, free: 6.082 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001947/0.3514, allocations: 28.91 kB / 0.5467 GB, free: 6.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00196/0.3534, allocations: 473.4 kB / 0.5471 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007951/0.3613, allocations: 2.153 MB / 0.5492 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009817/0.3711, allocations: 3.07 MB / 0.5522 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004879/0.376, allocations: 2.437 MB / 0.5546 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002227/0.3782, allocations: 1.108 MB / 0.5557 GB, free: 204 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002322/0.3805, allocations: 1.234 MB / 0.5569 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003027/0.3836, allocations: 1.224 MB / 0.5581 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007299/0.3843, allocations: 219.6 kB / 0.5583 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009644/0.3939, allocations: 2.524 MB / 0.5607 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001151/0.3951, allocations: 0.5159 MB / 0.5612 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002995/0.3981, allocations: 0.9109 MB / 0.5621 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01479/0.4129, allocations: 5.233 MB / 0.5672 GB, free: 7.762 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4129, allocations: 0 / 0.5672 GB, free: 7.762 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4129, allocations: 0 / 0.5672 GB, free: 7.762 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.789e-05/0.4129, allocations: 0 / 0.5672 GB, free: 7.762 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.005637/0.4186, allocations: 2.643 MB / 0.5698 GB, free: 5.074 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.012e-05/0.4186, allocations: 8.031 kB / 0.5698 GB, free: 5.066 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003283/0.419, allocations: 253.5 kB / 0.5701 GB, free: 4.809 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001878/0.4208, allocations: 423 kB / 0.5705 GB, free: 4.395 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001902/0.4227, allocations: 0.906 MB / 0.5714 GB, free: 3.461 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002203/0.423, allocations: 238.9 kB / 0.5716 GB, free: 3.203 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003322/0.4233, allocations: 184.3 kB / 0.5718 GB, free: 3.023 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003726/0.427, allocations: 2.085 MB / 0.5738 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.832e-05/0.4271, allocations: 11.94 kB / 0.5738 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001784/0.4272, allocations: 68 kB / 0.5739 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.682e-05/0.4273, allocations: 47.94 kB / 0.5739 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00468/0.432, allocations: 2.577 MB / 0.5764 GB, free: 14.2 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.01221/0.4442, allocations: 5.461 MB / 0.5818 GB, free: 8.621 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005101/0.4493, allocations: 2.53 MB / 0.5842 GB, free: 6.082 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001575/0.4508, allocations: 0.8352 MB / 0.5851 GB, free: 5.238 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01055/0.4614, allocations: 4.259 MB / 0.5892 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.068e-05/0.4615, allocations: 51.81 kB / 0.5893 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of pre-optimization done (n=144): time 4.748e-06/0.4615, allocations: 0 / 0.5893 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of matching and sorting (n=180): time 0.03032/0.4918, allocations: 6.742 MB / 0.5959 GB, free: 10.08 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.073e-05/0.4919, allocations: 95.11 kB / 0.5959 GB, free: 9.969 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.493, allocations: 0.8156 MB / 0.5967 GB, free: 9.129 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002002/0.4932, allocations: 49.7 kB / 0.5968 GB, free: 9.074 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006688/0.4939, allocations: 0.7546 MB / 0.5975 GB, free: 8.309 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007304/0.4946, allocations: 0.6429 MB / 0.5982 GB, free: 7.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005812/0.4952, allocations: 363.4 kB / 0.5985 GB, free: 7.297 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.4954, allocations: 309 kB / 0.5988 GB, free: 6.992 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/0.4966, allocations: 0.617 MB / 0.5994 GB, free: 6.371 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/0.4983, allocations: 1.137 MB / 0.6005 GB, free: 5.008 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003141/0.5015, allocations: 1.917 MB / 0.6024 GB, free: 2.875 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/0.5015, allocations: 4 kB / 0.6024 GB, free: 2.871 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.00779/0.5093, allocations: 2.468 MB / 0.6048 GB, free: 392 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.5093, allocations: 8.188 kB / 0.6048 GB, free: 384 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.042e-05/0.5093, allocations: 20 kB / 0.6048 GB, free: 364 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00393/0.5133, allocations: 474.9 kB / 0.6053 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002648/0.5159, allocations: 0.5227 MB / 0.6058 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01172/0.5276, allocations: 7.213 MB / 0.6128 GB, free: 7.688 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/0.5292, allocations: 67.98 kB / 0.6129 GB, free: 7.621 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002119/0.5294, allocations: 104 kB / 0.613 GB, free: 7.52 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.000819/0.5302, allocations: 377.1 kB / 0.6134 GB, free: 7.141 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003992/0.5306, allocations: 139.1 kB / 0.6135 GB, free: 7.004 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007884/0.5385, allocations: 2.426 MB / 0.6159 GB, free: 4.562 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.768e-05/0.5385, allocations: 20 kB / 0.6159 GB, free: 4.543 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.5385, allocations: 4 kB / 0.6159 GB, free: 4.539 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.501e-05/0.5386, allocations: 7.969 kB / 0.6159 GB, free: 4.531 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01068/0.5492, allocations: 3.796 MB / 0.6196 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.5492, allocations: 4 kB / 0.6196 GB, free: 0.668 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002181/0.5514, allocations: 395.5 kB / 0.62 GB, free: 288 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003778/0.5552, allocations: 462.8 kB / 0.6204 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002562/0.5555, allocations: 51.97 kB / 0.6205 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01048/0.5659, allocations: 7.048 MB / 0.6273 GB, free: 8.262 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5659, allocations: 0 / 0.6273 GB, free: 8.262 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008785/0.5747, allocations: 3.144 MB / 0.6304 GB, free: 5.09 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004417/0.5752, allocations: 119 kB / 0.6305 GB, free: 4.973 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002073/0.5754, allocations: 39.94 kB / 0.6306 GB, free: 4.934 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008622/0.5762, allocations: 32 kB / 0.6306 GB, free: 4.902 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003597/0.5766, allocations: 153.7 kB / 0.6307 GB, free: 4.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001475/0.5767, allocations: 63.98 kB / 0.6308 GB, free: 4.688 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007403/0.5775, allocations: 0.504 MB / 0.6313 GB, free: 4.172 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5775, allocations: 4 kB / 0.6313 GB, free: 4.168 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003401/0.5809, allocations: 1.072 MB / 0.6323 GB, free: 3.094 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.01103/0.5919, allocations: 4.775 MB / 0.637 GB, free: 14.28 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004073/0.596, allocations: 2.14 MB / 0.6391 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.596, allocations: 0 / 0.6391 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002187/0.5982, allocations: 1.306 MB / 0.6404 GB, free: 10.74 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.5997, allocations: 309.6 kB / 0.6407 GB, free: 10.44 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02776/0.6275, allocations: 13.13 MB / 0.6535 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009486/0.6284, allocations: 0.7009 MB / 0.6542 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00157/0.63, allocations: 346.7 kB / 0.6545 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001251/0.6312, allocations: 0.7686 MB / 0.6553 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of SimCode: time 1.823e-06/0.6312, allocations: 4 kB / 0.6553 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1387/0.7699, allocations: 53.39 MB / 0.7074 GB, free: 5.902 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.24/16.01, allocations: 23.91 kB / 0.7074 GB, free: 5.879 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: 18.743219431955367] Failed to read output from testmodel.py, exit status != 0: 16.168516573961824 16.19719835 15.777951702 Calling exit ...