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.001325/0.001325, allocations: 105.5 kB / 19.73 MB, free: 2.223 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.001534/0.001534, allocations: 215.5 kB / 23.04 MB, free: 5.059 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.1447/0.1447, allocations: 23.85 MB / 337.1 MB, free: 11.18 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.002166/0.002166, allocations: 68.16 kB / 472 MB, free: 7.664 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2996, allocations: 59.85 MB / 0.5194 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.00774/0.3073, allocations: 8.5 MB / 0.5277 GB, free: 3.566 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03119/0.3385, allocations: 24.34 MB / 0.5514 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002186/0.3407, allocations: 32.81 kB / 0.5515 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001789/0.3425, allocations: 0.5039 MB / 0.5519 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008092/0.3506, allocations: 2.19 MB / 0.5541 GB, free: 184 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009443/0.36, allocations: 3.062 MB / 0.5571 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003975/0.364, allocations: 2.443 MB / 0.5595 GB, free: 12.69 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00185/0.3659, allocations: 1.136 MB / 0.5606 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002096/0.368, allocations: 1.234 MB / 0.5618 GB, free: 11.26 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002758/0.3707, allocations: 1.357 MB / 0.5631 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005256/0.3713, allocations: 219.4 kB / 0.5633 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008898/0.3801, allocations: 2.689 MB / 0.5659 GB, free: 9.465 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007566/0.3809, allocations: 0.5164 MB / 0.5664 GB, free: 9.043 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001674/0.3826, allocations: 1.074 MB / 0.5675 GB, free: 8.324 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01213/0.3947, allocations: 5.247 MB / 0.5726 GB, free: 3.344 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3947, allocations: 0 / 0.5726 GB, free: 3.344 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3947, allocations: 0 / 0.5726 GB, free: 3.344 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.483e-05/0.3948, allocations: 4 kB / 0.5726 GB, free: 3.34 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.005922/0.4007, allocations: 2.646 MB / 0.5752 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.4008, allocations: 12.03 kB / 0.5752 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.898e-05/0.4008, allocations: 51.67 kB / 0.5753 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003287/0.4011, allocations: 253.5 kB / 0.5755 GB, free: 340 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001964/0.4031, allocations: 423 kB / 0.5759 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/0.4049, allocations: 0.8982 MB / 0.5768 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002243/0.4052, allocations: 250.8 kB / 0.577 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003464/0.4055, allocations: 188.1 kB / 0.5772 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003832/0.4093, allocations: 2.088 MB / 0.5792 GB, free: 12.42 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.432e-05/0.4094, allocations: 0 / 0.5792 GB, free: 12.42 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001988/0.4096, allocations: 72 kB / 0.5793 GB, free: 12.35 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-05/0.4096, allocations: 40 kB / 0.5793 GB, free: 12.31 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004558/0.4142, allocations: 2.612 MB / 0.5819 GB, free: 9.695 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.0125/0.4267, allocations: 6.592 MB / 0.5883 GB, free: 2.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005301/0.432, allocations: 2.575 MB / 0.5908 GB, free: 236 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001707/0.4337, allocations: 0.8313 MB / 0.5917 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01085/0.4445, allocations: 4.496 MB / 0.5961 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/0.4446, allocations: 51.88 kB / 0.5961 GB, free: 10.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=144): time 3.227e-06/0.4446, allocations: 0 / 0.5961 GB, free: 10.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=180): time 0.03177/0.4763, allocations: 6.732 MB / 0.6027 GB, free: 4.004 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.322e-05/0.4764, allocations: 103.1 kB / 0.6028 GB, free: 3.883 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.4775, allocations: 0.7807 MB / 0.6035 GB, free: 3.078 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002457/0.4777, allocations: 57.7 kB / 0.6036 GB, free: 3.016 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005694/0.4783, allocations: 0.7546 MB / 0.6043 GB, free: 2.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006666/0.479, allocations: 0.6391 MB / 0.605 GB, free: 1.605 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005906/0.4796, allocations: 363.5 kB / 0.6053 GB, free: 1.242 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.4797, allocations: 305.1 kB / 0.6056 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/0.4809, allocations: 0.6248 MB / 0.6062 GB, free: 320 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001787/0.4827, allocations: 1.129 MB / 0.6073 GB, free: 14.95 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003162/0.4859, allocations: 1.921 MB / 0.6092 GB, free: 12.81 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.4859, allocations: 4 kB / 0.6092 GB, free: 12.81 MB / 462.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007993/0.4939, allocations: 2.464 MB / 0.6116 GB, free: 10.33 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.286e-05/0.4939, allocations: 12 kB / 0.6116 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.316e-05/0.4939, allocations: 16 kB / 0.6116 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00399/0.4979, allocations: 478.9 kB / 0.6121 GB, free: 9.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002563/0.5005, allocations: 0.5227 MB / 0.6126 GB, free: 9.297 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01152/0.512, allocations: 7.285 MB / 0.6197 GB, free: 1.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.5135, allocations: 64 kB / 0.6198 GB, free: 1.508 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002334/0.5137, allocations: 103.9 kB / 0.6199 GB, free: 1.406 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.0007658/0.5145, allocations: 373.8 kB / 0.6202 GB, free: 1.031 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003709/0.5149, allocations: 143.1 kB / 0.6204 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008144/0.523, allocations: 2.433 MB / 0.6227 GB, free: 14.44 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.71e-05/0.523, allocations: 23.98 kB / 0.6227 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.523, allocations: 4 kB / 0.6228 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.831e-05/0.5231, allocations: 7.969 kB / 0.6228 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01084/0.5339, allocations: 4.038 MB / 0.6267 GB, free: 10.31 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.5339, allocations: 4 kB / 0.6267 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002293/0.5362, allocations: 391.5 kB / 0.6271 GB, free: 9.922 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004013/0.5402, allocations: 458.9 kB / 0.6275 GB, free: 9.461 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002644/0.5405, allocations: 55.97 kB / 0.6276 GB, free: 9.406 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01122/0.5517, allocations: 7.11 MB / 0.6345 GB, free: 1.84 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.5517, allocations: 3.984 kB / 0.6345 GB, free: 1.836 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009409/0.5611, allocations: 3.132 MB / 0.6376 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004045/0.5615, allocations: 127 kB / 0.6377 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000284/0.5618, allocations: 35.94 kB / 0.6377 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009395/0.5627, allocations: 39.98 kB / 0.6378 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003427/0.5631, allocations: 145.7 kB / 0.6379 GB, free: 14.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001624/0.5632, allocations: 67.97 kB / 0.638 GB, free: 14.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008061/0.5641, allocations: 0.5079 MB / 0.6385 GB, free: 13.75 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5641, allocations: 0 / 0.6385 GB, free: 13.75 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003306/0.5674, allocations: 1.068 MB / 0.6395 GB, free: 12.68 MB / 494.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.01199/0.5794, allocations: 4.767 MB / 0.6442 GB, free: 7.867 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004291/0.5836, allocations: 2.144 MB / 0.6463 GB, free: 5.672 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.5836, allocations: 0 / 0.6463 GB, free: 5.672 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002385/0.586, allocations: 1.31 MB / 0.6475 GB, free: 4.316 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/0.5877, allocations: 303 kB / 0.6478 GB, free: 4.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02935/0.617, allocations: 13.13 MB / 0.6607 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/0.6181, allocations: 1.273 MB / 0.6619 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001379/0.6195, allocations: 354.6 kB / 0.6622 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001181/0.6207, allocations: 0.7725 MB / 0.663 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of SimCode: time 1.253e-06/0.6207, allocations: 4 kB / 0.663 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1107/0.7314, allocations: 52.98 MB / 0.7147 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.15/23.88, allocations: 6.812 kB / 0.7147 GB, free: 15.19 MB / 0.5606 GB " [Timeout remaining time 636] (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 sys.exit(0), Time elapsed: 26.83193574694451] Failed to read output from testmodel.py, exit status != 0: 24.088470897986554 24.114155148 23.714505881 Calling exit ...