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.001932/0.001932, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002664/0.002664, allocations: 218.7 kB / 22.26 MB, free: 5.125 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.444/1.444, allocations: 230.6 MB / 256 MB, free: 7.984 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.2036/0.2036, allocations: 23.86 MB / 336.3 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.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: 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.002111/0.002111, allocations: 67.89 kB / 471.2 MB, free: 7.691 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2994, allocations: 59.85 MB / 0.5186 GB, free: 9.637 MB / 382.1 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.03449/0.3339, allocations: 25.34 MB / 0.5433 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01405/0.3479, allocations: 10.19 MB / 0.5533 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006136/0.3485, allocations: 7.938 kB / 0.5533 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007384/0.3493, allocations: 239.2 kB / 0.5535 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001639/0.3509, allocations: 0.5816 MB / 0.5541 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003604/0.3545, allocations: 1.468 MB / 0.5555 GB, free: 3.074 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001383/0.3559, allocations: 0.9512 MB / 0.5564 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005951/0.3565, allocations: 436.8 kB / 0.5569 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000527/0.357, allocations: 426.5 kB / 0.5573 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007117/0.3577, allocations: 480.5 kB / 0.5577 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001336/0.3579, allocations: 87.94 kB / 0.5578 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002921/0.3608, allocations: 1.055 MB / 0.5588 GB, free: 104 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000249/0.361, allocations: 193.8 kB / 0.559 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004831/0.3615, allocations: 425.2 kB / 0.5594 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003745/0.3653, allocations: 2.062 MB / 0.5614 GB, free: 13.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3653, allocations: 0 / 0.5614 GB, free: 13.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3653, allocations: 0 / 0.5614 GB, free: 13.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.864e-05/0.3653, allocations: 0 / 0.5614 GB, free: 13.91 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.002386/0.3677, allocations: 1.162 MB / 0.5626 GB, free: 12.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.3677, allocations: 12.03 kB / 0.5626 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001491/0.3679, allocations: 106.7 kB / 0.5627 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008697/0.3687, allocations: 213.2 kB / 0.5629 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007821/0.3695, allocations: 432.9 kB / 0.5633 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.176e-05/0.3696, allocations: 50.38 kB / 0.5633 GB, free: 12.1 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.3697, allocations: 72.89 kB / 0.5634 GB, free: 12.03 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/0.3714, allocations: 1.109 MB / 0.5645 GB, free: 11.06 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.3714, allocations: 0 / 0.5645 GB, free: 11.06 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.379e-05/0.3715, allocations: 32 kB / 0.5645 GB, free: 11.03 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.3715, allocations: 16 kB / 0.5645 GB, free: 11.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/0.3737, allocations: 1.558 MB / 0.5661 GB, free: 9.457 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005083/0.3787, allocations: 3.005 MB / 0.569 GB, free: 6.344 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/0.3803, allocations: 0.9109 MB / 0.5699 GB, free: 5.426 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005233/0.3808, allocations: 366.6 kB / 0.5702 GB, free: 5.066 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00361/0.3844, allocations: 1.833 MB / 0.572 GB, free: 3.211 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.3844, allocations: 35 kB / 0.5721 GB, free: 3.168 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 1.864e-06/0.3844, allocations: 7.938 kB / 0.5721 GB, free: 3.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.01609/0.4005, allocations: 3.39 MB / 0.5754 GB, free: 15.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.4006, allocations: 64.05 kB / 0.5754 GB, free: 15.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008696/0.4014, allocations: 0.7048 MB / 0.5761 GB, free: 14.94 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.83e-05/0.4015, allocations: 37.7 kB / 0.5762 GB, free: 14.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002597/0.4018, allocations: 356.4 kB / 0.5765 GB, free: 14.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/0.402, allocations: 249.8 kB / 0.5767 GB, free: 14.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002596/0.4022, allocations: 166.5 kB / 0.5769 GB, free: 14.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.4024, allocations: 366.8 kB / 0.5773 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006929/0.4031, allocations: 457.8 kB / 0.5777 GB, free: 13.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008099/0.4039, allocations: 0.6042 MB / 0.5783 GB, free: 12.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.4054, allocations: 0.9932 MB / 0.5793 GB, free: 11.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.4054, allocations: 4 kB / 0.5793 GB, free: 11.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004186/0.4095, allocations: 1.436 MB / 0.5807 GB, free: 10.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.4096, allocations: 8 kB / 0.5807 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.4096, allocations: 4 kB / 0.5807 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002302/0.4119, allocations: 266.3 kB / 0.5809 GB, free: 9.871 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007937/0.4127, allocations: 195.6 kB / 0.5811 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005598/0.4183, allocations: 3.753 MB / 0.5848 GB, free: 5.672 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006252/0.4189, allocations: 24 kB / 0.5848 GB, free: 5.648 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.328e-05/0.419, allocations: 35.98 kB / 0.5848 GB, free: 5.613 MB / 430.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.0003445/0.4193, allocations: 210.2 kB / 0.585 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.4195, allocations: 67.58 kB / 0.5851 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004043/0.4235, allocations: 1.205 MB / 0.5863 GB, free: 4.105 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.4235, allocations: 15.98 kB / 0.5863 GB, free: 4.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.4235, allocations: 0 / 0.5863 GB, free: 4.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.4235, allocations: 3.984 kB / 0.5863 GB, free: 4.086 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005277/0.4288, allocations: 2.162 MB / 0.5884 GB, free: 1.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.4288, allocations: 4 kB / 0.5884 GB, free: 1.836 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005882/0.4294, allocations: 131.9 kB / 0.5885 GB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002231/0.4316, allocations: 266.4 kB / 0.5888 GB, free: 1.438 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.883e-05/0.4317, allocations: 24 kB / 0.5888 GB, free: 1.414 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005461/0.4372, allocations: 3.708 MB / 0.5924 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4372, allocations: 0 / 0.5924 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004586/0.4418, allocations: 1.69 MB / 0.5941 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003785/0.4421, allocations: 115.5 kB / 0.5942 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.4422, allocations: 19.94 kB / 0.5942 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004453/0.4427, allocations: 20 kB / 0.5942 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.4428, allocations: 56.55 kB / 0.5943 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.592e-05/0.4429, allocations: 27.98 kB / 0.5943 GB, free: 11.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006088/0.4435, allocations: 0.5147 MB / 0.5948 GB, free: 10.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4435, allocations: 0 / 0.5948 GB, free: 10.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00125/0.4447, allocations: 442.8 kB / 0.5952 GB, free: 10.53 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.005878/0.4506, allocations: 2.658 MB / 0.5978 GB, free: 7.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002041/0.4527, allocations: 1.17 MB / 0.599 GB, free: 6.625 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.4527, allocations: 0 / 0.599 GB, free: 6.625 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009947/0.4537, allocations: 0.6624 MB / 0.5996 GB, free: 5.938 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009663/0.4546, allocations: 164.5 kB / 0.5998 GB, free: 5.781 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01515/0.4698, allocations: 7.964 MB / 0.6076 GB, free: 13.55 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000591/0.4704, allocations: 0.9071 MB / 0.6084 GB, free: 12.62 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005251/0.4709, allocations: 135.9 kB / 0.6086 GB, free: 12.49 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000455/0.4714, allocations: 291.3 kB / 0.6088 GB, free: 12.2 MB / 462.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4714, allocations: 3.938 kB / 0.6089 GB, free: 12.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0686/0.54, allocations: 25.16 MB / 0.6334 GB, free: 3.199 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.58/16.12, allocations: 0 / 0.6334 GB, free: 3.199 MB / 478.1 MB " [Timeout remaining time 644] (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 sys.exit(0), Time elapsed: 18.961915031075478] Failed to read output from testmodel.py, exit status != 0: 16.253451987868175 16.274100652 15.905090229 Calling exit ...