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.0007858/0.0007858, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008283/0.0008283, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.8671/0.8671, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.08702/0.08702, allocations: 17.37 MB / 276.6 MB, free: 11.85 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 3.938 kB / 411.5 MB, free: 420 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.396e-05/1.542e-05, allocations: 2.281 kB / 411.5 MB, free: 416 kB / 378.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.006077/0.006092, allocations: 7.417 MB / 418.9 MB, free: 8.953 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01722/0.02331, allocations: 21.3 MB / 440.2 MB, free: 3.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009653/0.02428, allocations: 31.75 kB / 440.2 MB, free: 3.539 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009886/0.02526, allocations: 464.2 kB / 440.7 MB, free: 3.082 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004647/0.02991, allocations: 2.226 MB / 442.9 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1853/0.2152, allocations: 3.156 MB / 446 MB, free: 44.81 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00273/0.2179, allocations: 2.523 MB / 448.6 MB, free: 44.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001129/0.219, allocations: 1.122 MB / 449.7 MB, free: 44.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001416/0.2205, allocations: 1.691 MB / 451.4 MB, free: 43.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.2216, allocations: 1.098 MB / 452.5 MB, free: 43.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000302/0.2219, allocations: 215.5 kB / 452.7 MB, free: 43.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006005/0.2279, allocations: 2.55 MB / 455.2 MB, free: 43.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006062/0.2285, allocations: 0.521 MB / 455.8 MB, free: 43.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001132/0.2296, allocations: 0.7961 MB / 456.6 MB, free: 43.67 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01043/0.24, allocations: 5.557 MB / 462.1 MB, free: 42.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.24, allocations: 3.281 kB / 462.1 MB, free: 42.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.24, allocations: 4 kB / 462.1 MB, free: 42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.418e-05/0.2401, allocations: 0 / 462.1 MB, free: 42 MB / 410.7 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.003717/0.2438, allocations: 2.611 MB / 464.7 MB, free: 40.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.2439, allocations: 9.812 kB / 464.7 MB, free: 40.52 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001793/0.244, allocations: 249.2 kB / 465 MB, free: 40.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.2451, allocations: 429.8 kB / 465.4 MB, free: 40.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.2461, allocations: 0.9046 MB / 466.3 MB, free: 39.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.2462, allocations: 242 kB / 466.5 MB, free: 39.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001804/0.2464, allocations: 182.1 kB / 466.7 MB, free: 39.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001989/0.2484, allocations: 2.089 MB / 468.8 MB, free: 38.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.2484, allocations: 384 / 468.8 MB, free: 38.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.2485, allocations: 75.62 kB / 468.9 MB, free: 38.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.2486, allocations: 42.47 kB / 468.9 MB, free: 38.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002278/0.2508, allocations: 2.577 MB / 471.5 MB, free: 37.89 MB / 410.7 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.006259/0.2571, allocations: 5.452 MB / 477 MB, free: 35.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002921/0.26, allocations: 2.54 MB / 479.5 MB, free: 34.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009567/0.261, allocations: 0.8339 MB / 480.3 MB, free: 33.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006172/0.2672, allocations: 4.252 MB / 484.6 MB, free: 32.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.2672, allocations: 49.31 kB / 484.6 MB, free: 32.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=144): time 3.116e-06/0.2672, allocations: 0 / 484.6 MB, free: 32.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=180): time 0.01661/0.2838, allocations: 6.743 MB / 491.4 MB, free: 29.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.2838, allocations: 97.03 kB / 491.5 MB, free: 29.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000872/0.2847, allocations: 0.8087 MB / 492.3 MB, free: 29.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000182/0.2849, allocations: 61.75 kB / 492.3 MB, free: 28.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003112/0.2852, allocations: 0.7534 MB / 493.1 MB, free: 28.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003617/0.2856, allocations: 0.6269 MB / 493.7 MB, free: 27.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003634/0.2859, allocations: 360.6 kB / 494.1 MB, free: 27.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.738e-05/0.286, allocations: 301.1 kB / 494.4 MB, free: 27.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007895/0.2867, allocations: 0.6192 MB / 495 MB, free: 27.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.2878, allocations: 1.131 MB / 496.1 MB, free: 26.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001826/0.2896, allocations: 1.915 MB / 498 MB, free: 25.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/0.2896, allocations: 11.19 kB / 498 MB, free: 25.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.00421/0.2938, allocations: 2.47 MB / 0.4888 GB, free: 24.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.2938, allocations: 16.66 kB / 0.4888 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.2938, allocations: 19.06 kB / 0.4888 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001747/0.2956, allocations: 476.2 kB / 0.4893 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/0.297, allocations: 0.5178 MB / 0.4898 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005578/0.3026, allocations: 7.21 MB / 0.4968 GB, free: 17.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.3039, allocations: 66.8 kB / 0.4969 GB, free: 17.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001795/0.3041, allocations: 102.6 kB / 0.497 GB, free: 17.69 MB / 410.7 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.0007862/0.3049, allocations: 375.9 kB / 0.4973 GB, free: 17.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003306/0.3052, allocations: 140.7 kB / 0.4975 GB, free: 17.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004292/0.3095, allocations: 2.433 MB / 0.4998 GB, free: 16.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/0.3095, allocations: 19.41 kB / 0.4999 GB, free: 16.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.3095, allocations: 7.125 kB / 0.4999 GB, free: 16.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-05/0.3095, allocations: 9.328 kB / 0.4999 GB, free: 16.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005987/0.3155, allocations: 3.8 MB / 0.5036 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.3155, allocations: 8 kB / 0.5036 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.3166, allocations: 383 kB / 0.504 GB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001609/0.3182, allocations: 459.4 kB / 0.5044 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001593/0.3184, allocations: 55.78 kB / 0.5045 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004643/0.323, allocations: 7.036 MB / 0.5113 GB, free: 5.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.323, allocations: 0 / 0.5113 GB, free: 5.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005568/0.3286, allocations: 3.139 MB / 0.5144 GB, free: 3.027 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004723/0.3291, allocations: 126.1 kB / 0.5145 GB, free: 2.906 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.3292, allocations: 48 kB / 0.5146 GB, free: 2.859 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004632/0.3297, allocations: 35 kB / 0.5146 GB, free: 2.828 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002959/0.33, allocations: 150.2 kB / 0.5147 GB, free: 2.754 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-05/0.3301, allocations: 67.92 kB / 0.5148 GB, free: 2.695 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004926/0.3305, allocations: 0.501 MB / 0.5153 GB, free: 2.258 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3305, allocations: 0 / 0.5153 GB, free: 2.258 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003341/0.3339, allocations: 1.075 MB / 0.5163 GB, free: 1.203 MB / 410.7 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.00793/0.3418, allocations: 4.793 MB / 0.521 GB, free: 12.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003386/0.3452, allocations: 2.144 MB / 0.5231 GB, free: 11.03 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.3452, allocations: 0 / 0.5231 GB, free: 11.03 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001549/0.3468, allocations: 1.299 MB / 0.5244 GB, free: 9.828 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.348, allocations: 307.3 kB / 0.5247 GB, free: 9.574 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01985/0.3679, allocations: 13.06 MB / 0.5374 GB, free: 12.13 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005645/0.3684, allocations: 0.697 MB / 0.5381 GB, free: 11.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001053/0.3695, allocations: 354.5 kB / 0.5384 GB, free: 11.05 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008377/0.3703, allocations: 0.7736 MB / 0.5392 GB, free: 10.28 MB / 442.7 MB Notification: Performance of SimCode: time 2.064e-06/0.3703, allocations: 0 / 0.5392 GB, free: 10.28 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08024/0.4506, allocations: 53.61 MB / 0.5916 GB, free: 5.16 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.429/9.88, allocations: 15.2 kB / 0.5916 GB, free: 5.148 MB / 490.7 MB " [Timeout remaining time 650] (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: 11.692571034654975] Failed to read output from testmodel.py, exit status != 0: 9.997264026664197 10.012978597 9.77084362 Calling exit ...