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.001505/0.001505, allocations: 114.3 kB / 18.94 MB, free: 2.789 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.001664/0.001664, allocations: 220.7 kB / 22.26 MB, free: 5.211 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.372/1.372, allocations: 230.6 MB / 256 MB, free: 8 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.1308/0.1308, allocations: 23.89 MB / 336.3 MB, free: 11.16 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.001942/0.001942, allocations: 63.91 kB / 471.2 MB, free: 7.641 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3032, allocations: 59.87 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.03431/0.3375, allocations: 25.34 MB / 0.5434 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01301/0.3505, allocations: 10.19 MB / 0.5533 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006325/0.3512, allocations: 15.88 kB / 0.5534 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006782/0.3518, allocations: 238.6 kB / 0.5536 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001595/0.3534, allocations: 0.5812 MB / 0.5542 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004003/0.3574, allocations: 1.464 MB / 0.5556 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001488/0.3589, allocations: 0.9519 MB / 0.5565 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006292/0.3595, allocations: 432.4 kB / 0.5569 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005537/0.3601, allocations: 422.7 kB / 0.5573 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007246/0.3608, allocations: 484.7 kB / 0.5578 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.361, allocations: 84 kB / 0.5579 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003121/0.3641, allocations: 1.05 MB / 0.5589 GB, free: 76 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002984/0.3644, allocations: 206 kB / 0.5591 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004729/0.3648, allocations: 425.3 kB / 0.5595 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004315/0.3692, allocations: 2.062 MB / 0.5615 GB, free: 13.87 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3692, allocations: 0.6562 kB / 0.5615 GB, free: 13.87 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3692, allocations: 0 / 0.5615 GB, free: 13.87 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.164e-05/0.3692, allocations: 0 / 0.5615 GB, free: 13.87 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.002539/0.3717, allocations: 1.154 MB / 0.5626 GB, free: 12.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.3718, allocations: 16.03 kB / 0.5627 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001587/0.3719, allocations: 110.5 kB / 0.5628 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009162/0.3728, allocations: 212.6 kB / 0.563 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008386/0.3737, allocations: 425.5 kB / 0.5634 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.761e-05/0.3737, allocations: 58.38 kB / 0.5634 GB, free: 12.06 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.3739, allocations: 69.17 kB / 0.5635 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/0.3756, allocations: 1.117 MB / 0.5646 GB, free: 10.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.3756, allocations: 0 / 0.5646 GB, free: 10.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.092e-05/0.3757, allocations: 28 kB / 0.5646 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.3757, allocations: 16 kB / 0.5646 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002223/0.3779, allocations: 1.55 MB / 0.5661 GB, free: 9.402 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005178/0.3831, allocations: 3.009 MB / 0.5691 GB, free: 6.285 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.3846, allocations: 0.9148 MB / 0.57 GB, free: 5.363 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005065/0.3851, allocations: 366.6 kB / 0.5703 GB, free: 5.004 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003576/0.3887, allocations: 1.825 MB / 0.5721 GB, free: 3.156 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.202e-05/0.3887, allocations: 38.94 kB / 0.5721 GB, free: 3.109 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.014e-06/0.3887, allocations: 0 / 0.5721 GB, free: 3.109 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.01506/0.4038, allocations: 3.394 MB / 0.5755 GB, free: 15.67 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.4038, allocations: 64.05 kB / 0.5755 GB, free: 15.6 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008737/0.4047, allocations: 0.7009 MB / 0.5762 GB, free: 14.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.616e-05/0.4048, allocations: 37.7 kB / 0.5762 GB, free: 14.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/0.4051, allocations: 356.3 kB / 0.5766 GB, free: 14.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002237/0.4053, allocations: 249.9 kB / 0.5768 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00025/0.4055, allocations: 158.5 kB / 0.577 GB, free: 14.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.4057, allocations: 370.8 kB / 0.5773 GB, free: 13.72 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007074/0.4064, allocations: 461.8 kB / 0.5778 GB, free: 13.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007978/0.4072, allocations: 0.6042 MB / 0.5783 GB, free: 12.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/0.4086, allocations: 0.9932 MB / 0.5793 GB, free: 11.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.4086, allocations: 4 kB / 0.5793 GB, free: 11.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00393/0.4125, allocations: 1.433 MB / 0.5807 GB, free: 10.1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.4126, allocations: 11.94 kB / 0.5807 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.4126, allocations: 8 kB / 0.5807 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002137/0.4147, allocations: 270.2 kB / 0.581 GB, free: 9.809 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007488/0.4155, allocations: 191.7 kB / 0.5812 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00561/0.4211, allocations: 3.765 MB / 0.5849 GB, free: 5.605 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005829/0.4216, allocations: 20 kB / 0.5849 GB, free: 5.586 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-05/0.4217, allocations: 35.98 kB / 0.5849 GB, free: 5.551 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.0003369/0.4221, allocations: 210.1 kB / 0.5851 GB, free: 5.336 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.4222, allocations: 67.58 kB / 0.5852 GB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003818/0.426, allocations: 1.209 MB / 0.5864 GB, free: 4.039 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.4261, allocations: 8 kB / 0.5864 GB, free: 4.031 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.4261, allocations: 0 / 0.5864 GB, free: 4.031 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.4261, allocations: 3.984 kB / 0.5864 GB, free: 4.027 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005144/0.4312, allocations: 2.162 MB / 0.5885 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.4312, allocations: 4 kB / 0.5885 GB, free: 1.777 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005766/0.4318, allocations: 135.8 kB / 0.5886 GB, free: 1.645 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002095/0.4339, allocations: 262.5 kB / 0.5889 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.504e-05/0.4339, allocations: 24 kB / 0.5889 GB, free: 1.355 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005055/0.439, allocations: 3.712 MB / 0.5925 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.439, allocations: 0 / 0.5925 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004225/0.4432, allocations: 1.678 MB / 0.5941 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003102/0.4435, allocations: 123.6 kB / 0.5943 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.4436, allocations: 23.88 kB / 0.5943 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004089/0.4441, allocations: 16 kB / 0.5943 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.4442, allocations: 64.55 kB / 0.5944 GB, free: 11.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-05/0.4442, allocations: 23.98 kB / 0.5944 GB, free: 11.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005954/0.4448, allocations: 0.5147 MB / 0.5949 GB, free: 10.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4448, allocations: 0 / 0.5949 GB, free: 10.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001243/0.4461, allocations: 446.8 kB / 0.5953 GB, free: 10.46 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.005503/0.4516, allocations: 2.661 MB / 0.5979 GB, free: 7.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001934/0.4535, allocations: 1.175 MB / 0.5991 GB, free: 6.551 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4535, allocations: 0 / 0.5991 GB, free: 6.551 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009504/0.4545, allocations: 0.6493 MB / 0.5997 GB, free: 5.875 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008781/0.4553, allocations: 167.8 kB / 0.5999 GB, free: 5.719 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01454/0.4699, allocations: 7.967 MB / 0.6076 GB, free: 13.49 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006558/0.4705, allocations: 0.9071 MB / 0.6085 GB, free: 12.55 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004959/0.471, allocations: 129 kB / 0.6086 GB, free: 12.43 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004668/0.4715, allocations: 291.3 kB / 0.6089 GB, free: 12.14 MB / 462.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4715, allocations: 0 / 0.6089 GB, free: 12.14 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06328/0.5348, allocations: 25.16 MB / 0.6335 GB, free: 3.141 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.64/15.18, allocations: 11.88 kB / 0.6335 GB, free: 3.129 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 & python3 -m fmpy simulate --output-file Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest_res.csv --start-time 0 --stop-time 0.05 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2e-05 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.817680439999094] Failed to read output from testmodel.py, exit status != 0: 15.302084816998104 15.31736914 14.94508623 Calling exit ...