Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.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.001267/0.001267, 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.001775/0.001775, 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.9216/0.9216, allocations: 177.2 MB / 202.8 MB, free: 5.543 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.09063/0.09063, allocations: 17.37 MB / 276.6 MB, free: 11.72 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.AcidBaseBufferTest,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_AcidBase_AcidBaseBufferTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_AcidBase_AcidBaseBufferTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 411.5 MB, free: 436 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.393e-05/1.581e-05, allocations: 6.281 kB / 411.5 MB, free: 428 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:12638:6-12638:65:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:12638:6-12638:65:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest): time 0.0209/0.02092, allocations: 25.33 MB / 436.8 MB, free: 7.152 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1737/0.1947, allocations: 8.931 MB / 445.7 MB, free: 59.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005709/0.1952, allocations: 9.562 kB / 445.7 MB, free: 59.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005252/0.1958, allocations: 221 kB / 446 MB, free: 59.22 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008135/0.1966, allocations: 0.5859 MB / 446.5 MB, free: 59.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002782/0.1993, allocations: 1.508 MB / 448 MB, free: 58.83 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005721/0.1999, allocations: 0.9804 MB / 449 MB, free: 58.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003305/0.2003, allocations: 431.4 kB / 449.5 MB, free: 58.54 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004478/0.2007, allocations: 0.5949 MB / 450 MB, free: 58.51 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002912/0.201, allocations: 373.3 kB / 450.4 MB, free: 58.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.651e-05/0.2011, allocations: 83.97 kB / 450.5 MB, free: 58.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001211/0.2023, allocations: 1.006 MB / 451.5 MB, free: 58.42 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.2024, allocations: 189.7 kB / 451.7 MB, free: 58.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.2026, allocations: 315.8 kB / 452 MB, free: 58.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.204, allocations: 2.169 MB / 454.2 MB, free: 57.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.204, allocations: 0 / 454.2 MB, free: 57.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.204, allocations: 6.109 kB / 454.2 MB, free: 57.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.407e-06/0.204, allocations: 0 / 454.2 MB, free: 57.6 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001252/0.2053, allocations: 1.146 MB / 455.3 MB, free: 56.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.2053, allocations: 12.56 kB / 455.3 MB, free: 56.86 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.096e-05/0.2054, allocations: 109.9 kB / 455.4 MB, free: 56.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000456/0.2059, allocations: 213.9 kB / 455.6 MB, free: 56.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004646/0.2063, allocations: 436.2 kB / 456.1 MB, free: 56.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.49e-05/0.2064, allocations: 48.25 kB / 456.1 MB, free: 56.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.423e-05/0.2065, allocations: 74.33 kB / 456.2 MB, free: 56.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009687/0.2074, allocations: 1.108 MB / 457.3 MB, free: 55.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.2074, allocations: 192 / 457.3 MB, free: 55.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.269e-05/0.2075, allocations: 34.19 kB / 457.3 MB, free: 55.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.2075, allocations: 19.91 kB / 457.3 MB, free: 55.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.2086, allocations: 1.537 MB / 458.9 MB, free: 55.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002487/0.2111, allocations: 2.663 MB / 461.5 MB, free: 54.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007781/0.2119, allocations: 0.9012 MB / 462.4 MB, free: 53.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002674/0.2122, allocations: 364.5 kB / 462.8 MB, free: 53.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00166/0.2138, allocations: 1.724 MB / 464.5 MB, free: 52.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.344e-05/0.2138, allocations: 38.25 kB / 464.6 MB, free: 52.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=51): time 1.423e-06/0.2138, allocations: 2.594 kB / 464.6 MB, free: 52.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=68): time 0.006293/0.2201, allocations: 3.403 MB / 468 MB, free: 51.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.2202, allocations: 61.75 kB / 468 MB, free: 51.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004192/0.2206, allocations: 0.7173 MB / 468.7 MB, free: 51.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.2206, allocations: 37.08 kB / 468.8 MB, free: 51.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.2207, allocations: 357.4 kB / 469.1 MB, free: 50.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.565e-05/0.2208, allocations: 244.7 kB / 469.4 MB, free: 50.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.2209, allocations: 150.8 kB / 469.5 MB, free: 50.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.02e-05/0.221, allocations: 367.5 kB / 469.9 MB, free: 50.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003475/0.2213, allocations: 461.4 kB / 470.3 MB, free: 50 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004056/0.2217, allocations: 0.6046 MB / 470.9 MB, free: 49.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007464/0.2225, allocations: 0.9953 MB / 471.9 MB, free: 49.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2225, allocations: 3.031 kB / 471.9 MB, free: 49.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001752/0.2243, allocations: 1.439 MB / 473.4 MB, free: 48.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.2243, allocations: 6.188 kB / 473.4 MB, free: 48.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.2243, allocations: 9.672 kB / 473.4 MB, free: 48.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008595/0.2251, allocations: 265.8 kB / 473.6 MB, free: 48.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003566/0.2255, allocations: 188.2 kB / 473.8 MB, free: 48.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/0.2279, allocations: 3.731 MB / 477.6 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/0.2282, allocations: 27.05 kB / 477.6 MB, free: 45.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.44e-05/0.2282, allocations: 34.33 kB / 477.6 MB, free: 45.07 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (94): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001879/0.2284, allocations: 209.6 kB / 477.8 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.009e-05/0.2285, allocations: 59.06 kB / 477.9 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/0.2302, allocations: 1.205 MB / 479.1 MB, free: 44.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.2302, allocations: 13.03 kB / 479.1 MB, free: 44.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2302, allocations: 2.688 kB / 479.1 MB, free: 44.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.2302, allocations: 7.453 kB / 479.1 MB, free: 44.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002805/0.233, allocations: 2.044 MB / 481.2 MB, free: 43.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.233, allocations: 4.875 kB / 481.2 MB, free: 43.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003051/0.2333, allocations: 135.4 kB / 481.3 MB, free: 43.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008438/0.2342, allocations: 269.5 kB / 481.6 MB, free: 43.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.415e-05/0.2342, allocations: 24.67 kB / 481.6 MB, free: 43.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/0.2363, allocations: 3.666 MB / 485.2 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.2363, allocations: 6.688 kB / 485.3 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/0.2382, allocations: 1.677 MB / 486.9 MB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.2384, allocations: 119.4 kB / 487 MB, free: 39.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/0.2384, allocations: 16.64 kB / 487.1 MB, free: 39.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.2386, allocations: 20.92 kB / 487.1 MB, free: 39.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.105e-05/0.2387, allocations: 66.98 kB / 487.1 MB, free: 39.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/0.2387, allocations: 25.98 kB / 487.2 MB, free: 39.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003305/0.2391, allocations: 0.517 MB / 487.7 MB, free: 38.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2391, allocations: 0 / 487.7 MB, free: 38.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008478/0.2399, allocations: 443.7 kB / 488.1 MB, free: 38.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (simpleSolution.temperature,simpleSolution.mass,liquidWater.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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002693/0.2426, allocations: 2.661 MB / 490.8 MB, free: 37.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.2437, allocations: 1.17 MB / 492 MB, free: 36.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2437, allocations: 0 / 492 MB, free: 36.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004864/0.2442, allocations: 0.6551 MB / 492.6 MB, free: 36.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005176/0.2447, allocations: 173.3 kB / 492.8 MB, free: 36.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007443/0.2521, allocations: 7.9 MB / 0.4889 GB, free: 32.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.2524, allocations: 313.7 kB / 0.4892 GB, free: 31.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003294/0.2527, allocations: 135.7 kB / 0.4894 GB, free: 31.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000323/0.253, allocations: 289.9 kB / 0.4896 GB, free: 31.75 MB / 410.7 MB Notification: Performance of SimCode: time 7.22e-07/0.253, allocations: 1.188 kB / 0.4896 GB, free: 31.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03467/0.2877, allocations: 26.2 MB / 0.5152 GB, free: 14.06 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.277/8.564, allocations: 3 kB / 0.5152 GB, free: 14.06 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_AcidBase_AcidBaseBufferTest_fmu --startTime=0 --stopTime=0.05 --stepSize=2e-05 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_AcidBase_AcidBaseBufferTest.fmu > Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.44497191812843] Failed to read output from testmodel.py, exit status != 0: 8.664170497097075 8.670530713 8.465118785 Calling exit ...