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.001398/0.001398, allocations: 102.7 kB / 16.45 MB, free: 6.449 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.001502/0.001502, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.537/1.537, allocations: 230.6 MB / 252.8 MB, free: 9.137 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.1407/0.1407, allocations: 23.85 MB / 332.7 MB, free: 12.41 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.00208/0.00208, allocations: 67.89 kB / 466 MB, free: 10.15 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3277, allocations: 59.82 MB / 0.5135 GB, free: 8.867 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.04179/0.3695, allocations: 25.32 MB / 0.5382 GB, free: 15.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01375/0.3832, allocations: 10.16 MB / 0.5481 GB, free: 5.965 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006903/0.3839, allocations: 11.88 kB / 0.5481 GB, free: 5.953 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008106/0.3847, allocations: 242.7 kB / 0.5484 GB, free: 5.766 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.3865, allocations: 0.5726 MB / 0.5489 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003978/0.3904, allocations: 1.453 MB / 0.5503 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00157/0.392, allocations: 0.9461 MB / 0.5513 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006873/0.3927, allocations: 436.4 kB / 0.5517 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005732/0.3933, allocations: 431.8 kB / 0.5521 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006472/0.3939, allocations: 480.5 kB / 0.5525 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.3941, allocations: 84 kB / 0.5526 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003583/0.3976, allocations: 1.051 MB / 0.5537 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003392/0.398, allocations: 193.9 kB / 0.5538 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005666/0.3985, allocations: 433.2 kB / 0.5543 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005589/0.4041, allocations: 2.05 MB / 0.5563 GB, free: 14.92 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.4041, allocations: 3.828 kB / 0.5563 GB, free: 14.92 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.4041, allocations: 4 kB / 0.5563 GB, free: 14.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.386e-05/0.4042, allocations: 4 kB / 0.5563 GB, free: 14.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.002839/0.407, allocations: 1.237 MB / 0.5575 GB, free: 13.72 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.4071, allocations: 8.641 kB / 0.5575 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001619/0.4072, allocations: 110.5 kB / 0.5576 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.4082, allocations: 208.6 kB / 0.5578 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.4092, allocations: 497.2 kB / 0.5583 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.593e-05/0.4093, allocations: 51.12 kB / 0.5583 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.4094, allocations: 72.33 kB / 0.5584 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/0.4115, allocations: 1.086 MB / 0.5594 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.4115, allocations: 1.078 kB / 0.5594 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.56e-05/0.4116, allocations: 35.94 kB / 0.5595 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/0.4116, allocations: 16 kB / 0.5595 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00241/0.414, allocations: 1.509 MB / 0.561 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005542/0.4195, allocations: 3.022 MB / 0.5639 GB, free: 7.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/0.4211, allocations: 0.947 MB / 0.5648 GB, free: 6.527 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005524/0.4217, allocations: 362.3 kB / 0.5652 GB, free: 6.172 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004075/0.4257, allocations: 2.461 MB / 0.5676 GB, free: 3.523 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.4258, allocations: 39 kB / 0.5676 GB, free: 3.477 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 1.964e-06/0.4258, allocations: 4 kB / 0.5676 GB, free: 3.473 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.01566/0.4414, allocations: 3.505 MB / 0.5711 GB, free: 15.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/0.4415, allocations: 59.97 kB / 0.5711 GB, free: 15.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009464/0.4424, allocations: 0.6892 MB / 0.5718 GB, free: 15.13 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.917e-05/0.4425, allocations: 33.7 kB / 0.5718 GB, free: 15.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/0.4428, allocations: 364.4 kB / 0.5722 GB, free: 14.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002488/0.443, allocations: 249.8 kB / 0.5724 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002846/0.4433, allocations: 158.5 kB / 0.5726 GB, free: 14.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.4435, allocations: 366.8 kB / 0.5729 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007662/0.4443, allocations: 449.8 kB / 0.5733 GB, free: 13.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008986/0.4452, allocations: 0.5886 MB / 0.5739 GB, free: 12.87 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/0.4467, allocations: 0.9733 MB / 0.5749 GB, free: 11.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.4467, allocations: 8 kB / 0.5749 GB, free: 11.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004073/0.4508, allocations: 1.401 MB / 0.5762 GB, free: 10.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.4508, allocations: 8 kB / 0.5762 GB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.4508, allocations: 4 kB / 0.5762 GB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002149/0.453, allocations: 262.3 kB / 0.5765 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008644/0.4538, allocations: 195.6 kB / 0.5767 GB, free: 9.941 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005703/0.4595, allocations: 3.956 MB / 0.5805 GB, free: 5.684 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006691/0.4602, allocations: 32 kB / 0.5806 GB, free: 5.652 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.779e-05/0.4603, allocations: 35.98 kB / 0.5806 GB, free: 5.617 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.000357/0.4607, allocations: 213.8 kB / 0.5808 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.4608, allocations: 63.58 kB / 0.5809 GB, free: 5.336 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003833/0.4647, allocations: 1.193 MB / 0.582 GB, free: 4.121 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.4647, allocations: 4 kB / 0.582 GB, free: 4.117 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.4647, allocations: 4 kB / 0.582 GB, free: 4.113 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.4647, allocations: 3.984 kB / 0.582 GB, free: 4.109 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005291/0.47, allocations: 2.161 MB / 0.5842 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.47, allocations: 4 kB / 0.5842 GB, free: 1.859 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006041/0.4706, allocations: 136 kB / 0.5843 GB, free: 1.727 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002124/0.4727, allocations: 258.3 kB / 0.5845 GB, free: 1.465 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.886e-05/0.4728, allocations: 23.98 kB / 0.5846 GB, free: 1.441 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005611/0.4784, allocations: 3.915 MB / 0.5884 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.4784, allocations: 0 / 0.5884 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004349/0.4827, allocations: 1.65 MB / 0.59 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003491/0.4831, allocations: 200.7 kB / 0.5902 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.616e-05/0.4832, allocations: 19.94 kB / 0.5902 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004264/0.4836, allocations: 12 kB / 0.5902 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.4838, allocations: 60.42 kB / 0.5903 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-05/0.4838, allocations: 27.98 kB / 0.5903 GB, free: 11.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006145/0.4844, allocations: 0.5107 MB / 0.5908 GB, free: 10.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4844, allocations: 0 / 0.5908 GB, free: 10.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001355/0.4858, allocations: 438.9 kB / 0.5912 GB, free: 10.25 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.005675/0.4915, allocations: 2.63 MB / 0.5938 GB, free: 7.574 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002177/0.4937, allocations: 1.154 MB / 0.5949 GB, free: 6.391 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4937, allocations: 0 / 0.5949 GB, free: 6.391 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.4947, allocations: 0.6502 MB / 0.5955 GB, free: 5.711 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000972/0.4957, allocations: 164.7 kB / 0.5957 GB, free: 5.551 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01532/0.511, allocations: 7.87 MB / 0.6034 GB, free: 13.42 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005879/0.5116, allocations: 0.9109 MB / 0.6043 GB, free: 12.48 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005483/0.5121, allocations: 132.3 kB / 0.6044 GB, free: 12.35 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004823/0.5126, allocations: 287.3 kB / 0.6047 GB, free: 12.07 MB / 462.1 MB Notification: Performance of SimCode: time 1.212e-06/0.5126, allocations: 4 kB / 0.6047 GB, free: 12.07 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06516/0.5778, allocations: 24.47 MB / 0.6286 GB, free: 3.742 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.83/15.41, allocations: 14.23 kB / 0.6286 GB, free: 3.73 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.1913691801019] Failed to read output from testmodel.py, exit status != 0: 15.52223724196665 15.547813917 15.138770287 Calling exit ...