Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001591/0.001591, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.002008/0.002008, allocations: 215 kB / 20.13 MB, free: 2.949 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.503/1.503, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.1395/0.1395, allocations: 23.89 MB / 333.4 MB, free: 1.172 MB / 254.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.AcidBaseBufferTest,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_AcidBase_AcidBaseBufferTest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_AcidBase_AcidBaseBufferTest",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.002007/0.002007, allocations: 60 kB / 466.7 MB, free: 30.8 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09914/0.1011, allocations: 59.84 MB / 0.5142 GB, free: 12.91 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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 master/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.04139/0.1425, allocations: 25.13 MB / 0.5388 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01587/0.1584, allocations: 10.16 MB / 0.5487 GB, free: 9.633 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008922/0.1593, allocations: 11.88 kB / 0.5487 GB, free: 9.621 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.1603, allocations: 242.2 kB / 0.5489 GB, free: 9.383 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002159/0.1625, allocations: 0.578 MB / 0.5495 GB, free: 8.801 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004707/0.1672, allocations: 1.456 MB / 0.5509 GB, free: 7.336 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001682/0.1689, allocations: 0.9467 MB / 0.5518 GB, free: 6.383 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008592/0.1697, allocations: 433 kB / 0.5522 GB, free: 5.949 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008075/0.1705, allocations: 426.8 kB / 0.5527 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009098/0.1714, allocations: 474.2 kB / 0.5531 GB, free: 5.066 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002011/0.1716, allocations: 87.94 kB / 0.5532 GB, free: 4.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003862/0.1755, allocations: 1.053 MB / 0.5542 GB, free: 3.926 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002899/0.1758, allocations: 195.4 kB / 0.5544 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006685/0.1765, allocations: 434 kB / 0.5548 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005724/0.1822, allocations: 2.05 MB / 0.5568 GB, free: 1.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1822, allocations: 0 / 0.5568 GB, free: 1.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1822, allocations: 0 / 0.5568 GB, free: 1.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.268e-05/0.1822, allocations: 3.938 kB / 0.5568 GB, free: 1.246 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.00308/0.1853, allocations: 1.238 MB / 0.558 GB, free: 15.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.992e-05/0.1854, allocations: 12.03 kB / 0.558 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.778e-05/0.1854, allocations: 18.19 kB / 0.5581 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001992/0.1856, allocations: 110.7 kB / 0.5582 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.1866, allocations: 212 kB / 0.5584 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009176/0.1875, allocations: 493.9 kB / 0.5588 GB, free: 15.08 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.704e-05/0.1876, allocations: 50.38 kB / 0.5589 GB, free: 15.03 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.1877, allocations: 76.33 kB / 0.559 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.1896, allocations: 1.09 MB / 0.56 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.1896, allocations: 0 / 0.56 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.356e-05/0.1896, allocations: 28 kB / 0.56 GB, free: 13.83 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.1897, allocations: 16 kB / 0.5601 GB, free: 13.81 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002273/0.1919, allocations: 1.511 MB / 0.5615 GB, free: 12.3 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005645/0.1976, allocations: 3.018 MB / 0.5645 GB, free: 9.172 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.1992, allocations: 0.966 MB / 0.5654 GB, free: 8.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005573/0.1998, allocations: 358.3 kB / 0.5658 GB, free: 7.828 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004457/0.2043, allocations: 2.461 MB / 0.5682 GB, free: 5.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.2043, allocations: 31 kB / 0.5682 GB, free: 5.141 MB / 430.1 MB Notification: Performance of pre-optimization done (n=51): time 2.905e-06/0.2043, allocations: 0 / 0.5682 GB, free: 5.141 MB / 430.1 MB Notification: Performance of matching and sorting (n=68): time 0.01544/0.2197, allocations: 3.504 MB / 0.5716 GB, free: 1.562 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.2198, allocations: 63.97 kB / 0.5717 GB, free: 1.488 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009632/0.2208, allocations: 0.6931 MB / 0.5724 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.109e-05/0.2208, allocations: 37.7 kB / 0.5724 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002985/0.2211, allocations: 356.4 kB / 0.5727 GB, free: 400 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002833/0.2214, allocations: 245.9 kB / 0.573 GB, free: 152 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003245/0.2217, allocations: 154.6 kB / 0.5731 GB, free: 15.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.2219, allocations: 370.8 kB / 0.5735 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007135/0.2227, allocations: 445.8 kB / 0.5739 GB, free: 15.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008449/0.2235, allocations: 0.5925 MB / 0.5745 GB, free: 14.53 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/0.225, allocations: 0.9694 MB / 0.5754 GB, free: 13.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.225, allocations: 0 / 0.5754 GB, free: 13.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004078/0.2291, allocations: 1.409 MB / 0.5768 GB, free: 12.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.2291, allocations: 7.938 kB / 0.5768 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.2291, allocations: 4 kB / 0.5768 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002125/0.2312, allocations: 274.2 kB / 0.5771 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008493/0.2321, allocations: 191.8 kB / 0.5773 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005945/0.238, allocations: 3.968 MB / 0.5811 GB, free: 7.332 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007693/0.2388, allocations: 24.06 kB / 0.5812 GB, free: 7.309 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/0.2389, allocations: 35.98 kB / 0.5812 GB, free: 7.273 MB / 446.1 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.0005062/0.2395, allocations: 209.5 kB / 0.5814 GB, free: 7.059 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002651/0.2397, allocations: 63.58 kB / 0.5815 GB, free: 6.996 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003879/0.2436, allocations: 1.189 MB / 0.5826 GB, free: 5.789 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.2436, allocations: 8 kB / 0.5826 GB, free: 5.781 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.2436, allocations: 0 / 0.5826 GB, free: 5.781 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.2436, allocations: 3.984 kB / 0.5826 GB, free: 5.777 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005494/0.2491, allocations: 2.169 MB / 0.5847 GB, free: 3.523 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.2491, allocations: 0 / 0.5847 GB, free: 3.523 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005954/0.2497, allocations: 139.8 kB / 0.5849 GB, free: 3.387 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001991/0.2517, allocations: 258.5 kB / 0.5851 GB, free: 3.125 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.862e-05/0.2518, allocations: 27.98 kB / 0.5851 GB, free: 3.098 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2509/0.5027, allocations: 3.895 MB / 0.589 GB, free: 64.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.5027, allocations: 4.844 kB / 0.589 GB, free: 64.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004283/0.507, allocations: 1.653 MB / 0.5906 GB, free: 64.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003241/0.5073, allocations: 199.5 kB / 0.5908 GB, free: 64.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.136e-05/0.5074, allocations: 16.42 kB / 0.5908 GB, free: 64.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004089/0.5078, allocations: 17.19 kB / 0.5908 GB, free: 64.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/0.508, allocations: 56.67 kB / 0.5908 GB, free: 64.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.361e-05/0.508, allocations: 29.75 kB / 0.5909 GB, free: 64.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006035/0.5086, allocations: 0.5077 MB / 0.5914 GB, free: 64.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5086, allocations: 0.7812 kB / 0.5914 GB, free: 64.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001311/0.5099, allocations: 439.3 kB / 0.5918 GB, free: 64.03 MB / 446.1 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.005085/0.515, allocations: 2.632 MB / 0.5944 GB, free: 62.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001855/0.5169, allocations: 1.145 MB / 0.5955 GB, free: 62.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5169, allocations: 2.688 kB / 0.5955 GB, free: 62.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008868/0.5178, allocations: 0.6503 MB / 0.5961 GB, free: 61.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009173/0.5187, allocations: 161.4 kB / 0.5963 GB, free: 61.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01339/0.5321, allocations: 7.874 MB / 0.604 GB, free: 57.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.5325, allocations: 0.9077 MB / 0.6048 GB, free: 56.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005802/0.5331, allocations: 135.3 kB / 0.605 GB, free: 56.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004497/0.5335, allocations: 286 kB / 0.6052 GB, free: 56.75 MB / 446.1 MB Notification: Performance of SimCode: time 1.152e-06/0.5335, allocations: 0 / 0.6052 GB, free: 56.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05278/0.5863, allocations: 24.51 MB / 0.6292 GB, free: 41.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.97/15.56, allocations: 10.8 kB / 0.6292 GB, free: 41.1 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_AcidBase_AcidBaseBufferTest_fmu --startTime=0 --stopTime=0.05 --stepSize=2e-05 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_AcidBase_AcidBaseBufferTest.fmu > Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.453420448000543] Failed to read output from testmodel.py, exit status != 0: 15.719451752025634 15.729834204 15.545302531 Calling exit ...