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.001347/0.001347, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001515/0.001515, allocations: 220.7 kB / 23.03 MB, free: 4.941 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.499/1.499, allocations: 230.6 MB / 256.8 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.1453/0.1453, allocations: 23.92 MB / 337.1 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 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_AcidBase_WaterSelfIonization",fmuType="cs",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.002019/0.002019, allocations: 63.91 kB / 471.9 MB, free: 7.48 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3508, allocations: 59.87 MB / 0.5193 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.008584/0.3594, allocations: 7.437 MB / 0.5266 GB, free: 4.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03082/0.3902, allocations: 21.29 MB / 0.5474 GB, free: 6.062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002122/0.3923, allocations: 28.34 kB / 0.5474 GB, free: 6.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002381/0.3947, allocations: 478.1 kB / 0.5479 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009961/0.4046, allocations: 2.153 MB / 0.55 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0121/0.4167, allocations: 3.073 MB / 0.553 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00494/0.4217, allocations: 2.433 MB / 0.5554 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001955/0.4236, allocations: 1.128 MB / 0.5565 GB, free: 152 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002388/0.426, allocations: 1.239 MB / 0.5577 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003021/0.429, allocations: 1.364 MB / 0.559 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005349/0.4296, allocations: 215.5 kB / 0.5592 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00872/0.4383, allocations: 2.588 MB / 0.5617 GB, free: 13.87 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000925/0.4392, allocations: 0.5116 MB / 0.5622 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001797/0.441, allocations: 0.9094 MB / 0.5631 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01355/0.4546, allocations: 5.237 MB / 0.5682 GB, free: 7.535 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4546, allocations: 0 / 0.5682 GB, free: 7.535 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.028e-06/0.4546, allocations: 4 kB / 0.5683 GB, free: 7.531 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.562e-05/0.4547, allocations: 0 / 0.5683 GB, free: 7.531 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.006167/0.4608, allocations: 2.639 MB / 0.5708 GB, free: 4.848 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.4609, allocations: 12.03 kB / 0.5708 GB, free: 4.836 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.576e-05/0.4609, allocations: 47.69 kB / 0.5709 GB, free: 4.789 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003335/0.4613, allocations: 253.5 kB / 0.5711 GB, free: 4.531 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002158/0.4634, allocations: 419 kB / 0.5715 GB, free: 4.121 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00214/0.4656, allocations: 0.9137 MB / 0.5724 GB, free: 3.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002395/0.4658, allocations: 242.9 kB / 0.5727 GB, free: 2.918 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003616/0.4662, allocations: 184.1 kB / 0.5728 GB, free: 2.738 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003947/0.4701, allocations: 2.088 MB / 0.5749 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/0.4702, allocations: 0 / 0.5749 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002074/0.4704, allocations: 68 kB / 0.5749 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-05/0.4704, allocations: 44 kB / 0.575 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004676/0.4751, allocations: 2.608 MB / 0.5775 GB, free: 13.89 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.01145/0.4865, allocations: 5.46 MB / 0.5829 GB, free: 8.316 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004982/0.4915, allocations: 2.53 MB / 0.5853 GB, free: 5.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001604/0.4931, allocations: 0.8351 MB / 0.5861 GB, free: 4.934 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01069/0.5038, allocations: 4.262 MB / 0.5903 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.706e-05/0.5038, allocations: 43.88 kB / 0.5903 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of pre-optimization done (n=144): time 4.549e-06/0.5039, allocations: 0 / 0.5903 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of matching and sorting (n=180): time 0.03369/0.5375, allocations: 6.746 MB / 0.5969 GB, free: 9.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.095e-05/0.5376, allocations: 103.1 kB / 0.597 GB, free: 9.648 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.5388, allocations: 0.7768 MB / 0.5978 GB, free: 8.848 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002328/0.539, allocations: 57.7 kB / 0.5978 GB, free: 8.785 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005835/0.5396, allocations: 0.7584 MB / 0.5986 GB, free: 8.016 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006678/0.5402, allocations: 0.643 MB / 0.5992 GB, free: 7.367 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005942/0.5408, allocations: 363.5 kB / 0.5996 GB, free: 7.004 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.541, allocations: 305.1 kB / 0.5998 GB, free: 6.703 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/0.5422, allocations: 0.617 MB / 0.6005 GB, free: 6.082 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00175/0.5439, allocations: 1.133 MB / 0.6016 GB, free: 4.723 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00328/0.5472, allocations: 1.917 MB / 0.6034 GB, free: 2.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.424e-05/0.5472, allocations: 4 kB / 0.6034 GB, free: 2.586 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008526/0.5557, allocations: 2.472 MB / 0.6058 GB, free: 100 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/0.5558, allocations: 14.81 kB / 0.6059 GB, free: 88 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.596e-05/0.5558, allocations: 16.09 kB / 0.6059 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004282/0.5601, allocations: 470.9 kB / 0.6063 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002783/0.5629, allocations: 0.5227 MB / 0.6068 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01228/0.5752, allocations: 7.22 MB / 0.6139 GB, free: 7.402 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/0.5767, allocations: 67.94 kB / 0.614 GB, free: 7.336 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000285/0.577, allocations: 103.9 kB / 0.6141 GB, free: 7.234 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.0008482/0.5779, allocations: 369 kB / 0.6144 GB, free: 6.867 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003956/0.5783, allocations: 151.2 kB / 0.6145 GB, free: 6.719 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008691/0.587, allocations: 2.422 MB / 0.6169 GB, free: 4.277 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.852e-05/0.587, allocations: 23.98 kB / 0.6169 GB, free: 4.254 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.587, allocations: 0 / 0.6169 GB, free: 4.254 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.089e-05/0.587, allocations: 7.969 kB / 0.6169 GB, free: 4.246 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01149/0.5985, allocations: 3.8 MB / 0.6207 GB, free: 396 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.651e-05/0.5985, allocations: 0 / 0.6207 GB, free: 396 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002363/0.6009, allocations: 395.5 kB / 0.621 GB, free: 0 / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004282/0.6052, allocations: 455 kB / 0.6215 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003466/0.6055, allocations: 63.91 kB / 0.6215 GB, free: 15.48 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01146/0.617, allocations: 7.048 MB / 0.6284 GB, free: 7.977 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.617, allocations: 0 / 0.6284 GB, free: 7.977 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01001/0.627, allocations: 3.136 MB / 0.6315 GB, free: 4.812 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004347/0.6274, allocations: 127 kB / 0.6316 GB, free: 4.688 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003389/0.6278, allocations: 35.94 kB / 0.6316 GB, free: 4.652 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009704/0.6287, allocations: 39.98 kB / 0.6317 GB, free: 4.613 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003865/0.6291, allocations: 145.7 kB / 0.6318 GB, free: 4.469 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001731/0.6293, allocations: 67.97 kB / 0.6319 GB, free: 4.402 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008285/0.6301, allocations: 0.504 MB / 0.6324 GB, free: 3.887 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6301, allocations: 0 / 0.6324 GB, free: 3.887 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00373/0.6339, allocations: 1.072 MB / 0.6334 GB, free: 2.812 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.01272/0.6466, allocations: 4.771 MB / 0.6381 GB, free: 14 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004586/0.6512, allocations: 2.136 MB / 0.6402 GB, free: 11.81 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.6512, allocations: 0 / 0.6402 GB, free: 11.81 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002401/0.6536, allocations: 1.306 MB / 0.6414 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/0.6552, allocations: 307.5 kB / 0.6417 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03077/0.686, allocations: 13.13 MB / 0.6545 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009125/0.6869, allocations: 0.7009 MB / 0.6552 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001463/0.6884, allocations: 350.4 kB / 0.6556 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001274/0.6896, allocations: 0.7725 MB / 0.6563 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of SimCode: time 1.413e-06/0.6896, allocations: 0 / 0.6563 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1147/0.8043, allocations: 53.75 MB / 0.7088 GB, free: 5.246 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.72/24.53, allocations: 64 / 0.7088 GB, free: 5.246 MB / 0.545 GB " [Timeout remaining time 635] (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: 27.374031975050457] Failed to read output from testmodel.py, exit status != 0: 24.744649302912876 24.771313145 24.311596508 Calling exit ...