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.001821/0.001821, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002257/0.002257, allocations: 217.2 kB / 23.03 MB, free: 4.922 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1382/0.1382, allocations: 23.9 MB / 337.1 MB, free: 10.97 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization,fileNamePrefix="Chemical_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.002092/0.002092, allocations: 63.91 kB / 471.9 MB, free: 7.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.323, allocations: 59.86 MB / 0.5193 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.007481/0.3305, allocations: 7.44 MB / 0.5266 GB, free: 4.551 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02727/0.3578, allocations: 21.29 MB / 0.5474 GB, free: 6.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001821/0.3596, allocations: 30.12 kB / 0.5474 GB, free: 6.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00207/0.3617, allocations: 472.9 kB / 0.5478 GB, free: 5.762 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007823/0.3695, allocations: 2.153 MB / 0.5499 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009534/0.379, allocations: 3.069 MB / 0.5529 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00413/0.3831, allocations: 2.437 MB / 0.5553 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001723/0.3849, allocations: 1.129 MB / 0.5564 GB, free: 124 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001942/0.3868, allocations: 1.234 MB / 0.5576 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002568/0.3894, allocations: 1.369 MB / 0.559 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004783/0.3898, allocations: 215.7 kB / 0.5592 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008425/0.3983, allocations: 2.591 MB / 0.5617 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009397/0.3992, allocations: 0.5051 MB / 0.5622 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001811/0.401, allocations: 0.9213 MB / 0.5631 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0133/0.4143, allocations: 5.233 MB / 0.5682 GB, free: 7.609 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/0.4143, allocations: 4 kB / 0.5682 GB, free: 7.605 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4143, allocations: 0 / 0.5682 GB, free: 7.605 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.554e-05/0.4144, allocations: 0 / 0.5682 GB, free: 7.605 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.005764/0.4202, allocations: 2.639 MB / 0.5708 GB, free: 4.922 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.4202, allocations: 12.03 kB / 0.5708 GB, free: 4.91 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.065e-05/0.4203, allocations: 43.69 kB / 0.5708 GB, free: 4.867 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003205/0.4206, allocations: 253.5 kB / 0.5711 GB, free: 4.609 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001952/0.4225, allocations: 419 kB / 0.5715 GB, free: 4.199 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/0.4243, allocations: 0.9098 MB / 0.5724 GB, free: 3.262 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000227/0.4245, allocations: 246.9 kB / 0.5726 GB, free: 2.996 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003389/0.4249, allocations: 184.1 kB / 0.5728 GB, free: 2.816 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003756/0.4286, allocations: 2.085 MB / 0.5748 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.289e-05/0.4287, allocations: 0 / 0.5748 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000192/0.4289, allocations: 72 kB / 0.5749 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-05/0.4289, allocations: 47.98 kB / 0.5749 GB, free: 0.582 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00445/0.4333, allocations: 2.6 MB / 0.5775 GB, free: 13.98 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.01125/0.4446, allocations: 5.468 MB / 0.5828 GB, free: 8.391 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004976/0.4496, allocations: 2.531 MB / 0.5853 GB, free: 5.844 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001433/0.451, allocations: 0.8275 MB / 0.5861 GB, free: 5.012 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01025/0.4613, allocations: 4.266 MB / 0.5903 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.465e-05/0.4613, allocations: 47.88 kB / 0.5903 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of pre-optimization done (n=144): time 4.609e-06/0.4613, allocations: 0 / 0.5903 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of matching and sorting (n=180): time 0.03337/0.4947, allocations: 6.742 MB / 0.5969 GB, free: 9.848 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.777e-05/0.4948, allocations: 95.11 kB / 0.597 GB, free: 9.734 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.4958, allocations: 0.7846 MB / 0.5977 GB, free: 8.926 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001582/0.496, allocations: 53.7 kB / 0.5978 GB, free: 8.867 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006216/0.4966, allocations: 0.7663 MB / 0.5985 GB, free: 8.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000613/0.4972, allocations: 0.6352 MB / 0.5992 GB, free: 7.449 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000576/0.4978, allocations: 363.5 kB / 0.5995 GB, free: 7.086 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.4979, allocations: 305.1 kB / 0.5998 GB, free: 6.785 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/0.4991, allocations: 0.6131 MB / 0.6004 GB, free: 6.168 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001656/0.5008, allocations: 1.133 MB / 0.6015 GB, free: 4.809 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003044/0.5038, allocations: 1.921 MB / 0.6034 GB, free: 2.672 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.5038, allocations: 4 kB / 0.6034 GB, free: 2.668 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008169/0.512, allocations: 2.464 MB / 0.6058 GB, free: 192 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/0.512, allocations: 18.98 kB / 0.6058 GB, free: 176 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/0.5121, allocations: 20 kB / 0.6058 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004332/0.5164, allocations: 470.9 kB / 0.6063 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002589/0.519, allocations: 0.5266 MB / 0.6068 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01164/0.5306, allocations: 7.224 MB / 0.6138 GB, free: 7.477 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.5321, allocations: 60 kB / 0.6139 GB, free: 7.418 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000214/0.5323, allocations: 103.9 kB / 0.614 GB, free: 7.316 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.0007467/0.5331, allocations: 373.8 kB / 0.6144 GB, free: 6.941 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003498/0.5334, allocations: 147.1 kB / 0.6145 GB, free: 6.797 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008505/0.5419, allocations: 2.421 MB / 0.6169 GB, free: 4.355 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.029e-05/0.542, allocations: 16 kB / 0.6169 GB, free: 4.34 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.542, allocations: 4 kB / 0.6169 GB, free: 4.336 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.54e-05/0.542, allocations: 11.95 kB / 0.6169 GB, free: 4.324 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/0.5525, allocations: 3.796 MB / 0.6206 GB, free: 480 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.5525, allocations: 0 / 0.6206 GB, free: 480 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002149/0.5546, allocations: 395.5 kB / 0.621 GB, free: 84 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004132/0.5588, allocations: 458.8 kB / 0.6214 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001918/0.5589, allocations: 59.97 kB / 0.6215 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01081/0.5698, allocations: 7.044 MB / 0.6284 GB, free: 8.062 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5698, allocations: 4.031 kB / 0.6284 GB, free: 8.059 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009117/0.5789, allocations: 3.132 MB / 0.6314 GB, free: 4.898 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003918/0.5793, allocations: 127 kB / 0.6315 GB, free: 4.773 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002242/0.5795, allocations: 35.94 kB / 0.6316 GB, free: 4.738 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009477/0.5804, allocations: 43.92 kB / 0.6316 GB, free: 4.695 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003803/0.5808, allocations: 145.7 kB / 0.6318 GB, free: 4.551 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001681/0.581, allocations: 67.97 kB / 0.6318 GB, free: 4.484 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007484/0.5817, allocations: 0.504 MB / 0.6323 GB, free: 3.969 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5817, allocations: 0 / 0.6323 GB, free: 3.969 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003357/0.5851, allocations: 1.079 MB / 0.6334 GB, free: 2.887 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.01138/0.5965, allocations: 4.766 MB / 0.638 GB, free: 14.08 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00406/0.6005, allocations: 2.14 MB / 0.6401 GB, free: 11.89 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.6005, allocations: 4 kB / 0.6401 GB, free: 11.89 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002162/0.6027, allocations: 1.302 MB / 0.6414 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/0.6043, allocations: 307.9 kB / 0.6417 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02843/0.6327, allocations: 13.13 MB / 0.6545 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008246/0.6335, allocations: 0.697 MB / 0.6552 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001424/0.635, allocations: 353.9 kB / 0.6555 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001207/0.6362, allocations: 0.7725 MB / 0.6563 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of SimCode: time 1.152e-06/0.6362, allocations: 4 kB / 0.6563 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.104/0.7401, allocations: 53.74 MB / 0.7087 GB, free: 5.328 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.72/24.46, allocations: 6.812 kB / 0.7088 GB, free: 5.324 MB / 0.545 GB " [Timeout remaining time 635] (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: 27.3393282139441] Failed to read output from testmodel.py, exit status != 0: 24.66164586204104 24.677191763 24.259258883 Calling exit ...