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.001936/0.001936, allocations: 110.4 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.002616/0.002616, allocations: 220.3 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.454/1.454, allocations: 230.6 MB / 256 MB, free: 7.961 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.1338/0.1338, allocations: 23.89 MB / 336.3 MB, free: 11.23 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest,fileNamePrefix="Chemical_master_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.002176/0.002176, allocations: 67.91 kB / 471.2 MB, free: 7.629 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3262, allocations: 59.86 MB / 0.5186 GB, free: 9.57 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.03576/0.362, allocations: 25.34 MB / 0.5434 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01323/0.3752, allocations: 10.19 MB / 0.5533 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008407/0.3761, allocations: 11.88 kB / 0.5534 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000893/0.377, allocations: 238.8 kB / 0.5536 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00193/0.3789, allocations: 0.5775 MB / 0.5541 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004258/0.3831, allocations: 1.468 MB / 0.5556 GB, free: 3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001685/0.3848, allocations: 0.9516 MB / 0.5565 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00086/0.3857, allocations: 432.5 kB / 0.5569 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008334/0.3865, allocations: 427 kB / 0.5573 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.3876, allocations: 476.7 kB / 0.5578 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002696/0.3878, allocations: 88 kB / 0.5579 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003531/0.3914, allocations: 1.058 MB / 0.5589 GB, free: 32 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003464/0.3917, allocations: 190.5 kB / 0.5591 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007089/0.3924, allocations: 432.4 kB / 0.5595 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005115/0.3975, allocations: 2.058 MB / 0.5615 GB, free: 13.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3975, allocations: 0 / 0.5615 GB, free: 13.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3975, allocations: 0 / 0.5615 GB, free: 13.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.104e-05/0.3976, allocations: 0 / 0.5615 GB, free: 13.84 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.003171/0.4008, allocations: 1.17 MB / 0.5626 GB, free: 12.74 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.4008, allocations: 8.031 kB / 0.5627 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000219/0.401, allocations: 107.4 kB / 0.5628 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009995/0.402, allocations: 212 kB / 0.563 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009154/0.4029, allocations: 437.4 kB / 0.5634 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.396e-05/0.403, allocations: 46.38 kB / 0.5634 GB, free: 12.03 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.4032, allocations: 77.08 kB / 0.5635 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/0.4051, allocations: 1.11 MB / 0.5646 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.113e-05/0.4051, allocations: 0 / 0.5646 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.062e-05/0.4052, allocations: 27.94 kB / 0.5646 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/0.4052, allocations: 16 kB / 0.5646 GB, free: 10.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002289/0.4075, allocations: 1.558 MB / 0.5661 GB, free: 9.363 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005432/0.4129, allocations: 3.002 MB / 0.5691 GB, free: 6.254 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/0.4144, allocations: 0.9108 MB / 0.57 GB, free: 5.336 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005268/0.4149, allocations: 370.6 kB / 0.5703 GB, free: 4.973 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00354/0.4185, allocations: 1.825 MB / 0.5721 GB, free: 3.125 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.4185, allocations: 39 kB / 0.5721 GB, free: 3.078 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.034e-06/0.4185, allocations: 0 / 0.5721 GB, free: 3.078 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.01502/0.4336, allocations: 3.399 MB / 0.5755 GB, free: 15.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.4336, allocations: 56.06 kB / 0.5755 GB, free: 15.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008982/0.4345, allocations: 0.7126 MB / 0.5762 GB, free: 14.85 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.427e-05/0.4346, allocations: 33.7 kB / 0.5762 GB, free: 14.81 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002687/0.4348, allocations: 356.4 kB / 0.5766 GB, free: 14.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002298/0.4351, allocations: 249.8 kB / 0.5768 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002551/0.4353, allocations: 158.5 kB / 0.577 GB, free: 14.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.4355, allocations: 370.8 kB / 0.5773 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006561/0.4362, allocations: 457.8 kB / 0.5778 GB, free: 13.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007934/0.4369, allocations: 0.6081 MB / 0.5784 GB, free: 12.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/0.4383, allocations: 1.001 MB / 0.5793 GB, free: 11.51 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.4383, allocations: 0 / 0.5793 GB, free: 11.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003887/0.4422, allocations: 1.429 MB / 0.5807 GB, free: 10.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.4422, allocations: 12 kB / 0.5807 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.4423, allocations: 4 kB / 0.5807 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002058/0.4443, allocations: 266.3 kB / 0.581 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007561/0.4451, allocations: 199.6 kB / 0.5812 GB, free: 9.586 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005495/0.4506, allocations: 3.749 MB / 0.5848 GB, free: 5.582 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006115/0.4512, allocations: 27.98 kB / 0.5849 GB, free: 5.555 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-05/0.4513, allocations: 35.98 kB / 0.5849 GB, free: 5.52 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.0003618/0.4516, allocations: 210.1 kB / 0.5851 GB, free: 5.305 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.4518, allocations: 63.58 kB / 0.5852 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00372/0.4555, allocations: 1.209 MB / 0.5863 GB, free: 4.012 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.4555, allocations: 11.94 kB / 0.5864 GB, free: 4 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.4556, allocations: 8 kB / 0.5864 GB, free: 3.992 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.4556, allocations: 3.984 kB / 0.5864 GB, free: 3.988 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005224/0.4608, allocations: 2.158 MB / 0.5885 GB, free: 1.746 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.361e-06/0.4608, allocations: 0 / 0.5885 GB, free: 1.746 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005493/0.4613, allocations: 139.8 kB / 0.5886 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002033/0.4634, allocations: 262.5 kB / 0.5889 GB, free: 1.344 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-05/0.4634, allocations: 16 kB / 0.5889 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005237/0.4687, allocations: 3.716 MB / 0.5925 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4687, allocations: 0 / 0.5925 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004334/0.473, allocations: 1.686 MB / 0.5942 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000353/0.4734, allocations: 119.6 kB / 0.5943 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.4735, allocations: 19.94 kB / 0.5943 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004435/0.4739, allocations: 16 kB / 0.5943 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.4741, allocations: 64.48 kB / 0.5944 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.885e-05/0.4741, allocations: 27.98 kB / 0.5944 GB, free: 11.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006354/0.4748, allocations: 0.5108 MB / 0.5949 GB, free: 10.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4748, allocations: 4 kB / 0.5949 GB, free: 10.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001615/0.4764, allocations: 442.8 kB / 0.5953 GB, free: 10.43 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.00573/0.4821, allocations: 2.65 MB / 0.5979 GB, free: 7.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002085/0.4842, allocations: 1.174 MB / 0.599 GB, free: 6.531 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.4842, allocations: 0 / 0.599 GB, free: 6.531 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009871/0.4852, allocations: 0.6544 MB / 0.5997 GB, free: 5.852 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009495/0.4861, allocations: 164.5 kB / 0.5998 GB, free: 5.699 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/0.501, allocations: 7.971 MB / 0.6076 GB, free: 13.46 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006076/0.5016, allocations: 0.911 MB / 0.6085 GB, free: 12.53 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005008/0.5021, allocations: 125 kB / 0.6086 GB, free: 12.41 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004965/0.5026, allocations: 295.3 kB / 0.6089 GB, free: 12.12 MB / 462.1 MB Notification: Performance of SimCode: time 9.12e-07/0.5026, allocations: 4 kB / 0.6089 GB, free: 12.11 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06963/0.5722, allocations: 25.16 MB / 0.6335 GB, free: 3.113 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.66/15.23, allocations: 4 kB / 0.6335 GB, free: 3.109 MB / 478.1 MB " [Timeout remaining time 645] (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: 17.958771221805364] Failed to read output from testmodel.py, exit status != 0: 15.36059059202671 15.386097325 14.983695612 Calling exit ...