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.00177/0.00177, allocations: 106.5 kB / 16.45 MB, free: 6.453 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.002109/0.002109, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.516/1.516, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.1471/0.1471, allocations: 23.88 MB / 332.7 MB, free: 12.32 MB / 270.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="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.002258/0.002258, allocations: 67.91 kB / 466 MB, free: 10.04 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3814, allocations: 59.82 MB / 0.5135 GB, free: 8.84 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.04067/0.4221, allocations: 25.31 MB / 0.5383 GB, free: 15.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01511/0.4372, allocations: 10.16 MB / 0.5482 GB, free: 5.859 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007919/0.438, allocations: 11.88 kB / 0.5482 GB, free: 5.848 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008073/0.4388, allocations: 234.9 kB / 0.5484 GB, free: 5.668 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001728/0.4405, allocations: 0.5802 MB / 0.549 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004451/0.445, allocations: 1.456 MB / 0.5504 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001682/0.4466, allocations: 0.9433 MB / 0.5513 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007442/0.4474, allocations: 441.1 kB / 0.5517 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000567/0.448, allocations: 421.8 kB / 0.5521 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006167/0.4486, allocations: 477.4 kB / 0.5526 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.4487, allocations: 87.94 kB / 0.5527 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00479/0.4535, allocations: 1.054 MB / 0.5537 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003656/0.4538, allocations: 197.9 kB / 0.5539 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006967/0.4545, allocations: 429.2 kB / 0.5543 GB, free: 468 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006414/0.461, allocations: 2.06 MB / 0.5563 GB, free: 14.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.461, allocations: 0 / 0.5563 GB, free: 14.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.461, allocations: 0 / 0.5563 GB, free: 14.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.837e-05/0.461, allocations: 0 / 0.5563 GB, free: 14.81 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.003827/0.4648, allocations: 1.23 MB / 0.5575 GB, free: 13.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.4649, allocations: 16.59 kB / 0.5575 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002163/0.4651, allocations: 106.6 kB / 0.5576 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/0.4667, allocations: 212.8 kB / 0.5578 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.4677, allocations: 497.2 kB / 0.5583 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.957e-05/0.4678, allocations: 50.38 kB / 0.5584 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.4679, allocations: 77.12 kB / 0.5584 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/0.4697, allocations: 1.081 MB / 0.5595 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.4698, allocations: 1.266 kB / 0.5595 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.84e-05/0.4698, allocations: 32 kB / 0.5595 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.4699, allocations: 16 kB / 0.5595 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002373/0.4722, allocations: 1.509 MB / 0.561 GB, free: 10.51 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005403/0.4776, allocations: 3.016 MB / 0.564 GB, free: 7.387 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/0.4794, allocations: 0.9626 MB / 0.5649 GB, free: 6.398 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005555/0.4799, allocations: 370.2 kB / 0.5653 GB, free: 6.035 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004098/0.484, allocations: 2.457 MB / 0.5677 GB, free: 3.391 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.4841, allocations: 35 kB / 0.5677 GB, free: 3.348 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.164e-06/0.4841, allocations: 0 / 0.5677 GB, free: 3.348 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.01529/0.4994, allocations: 3.502 MB / 0.5711 GB, free: 15.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.4994, allocations: 59.97 kB / 0.5712 GB, free: 15.7 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.5004, allocations: 0.6969 MB / 0.5719 GB, free: 15 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.205e-05/0.5005, allocations: 37.7 kB / 0.5719 GB, free: 14.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003045/0.5008, allocations: 348.5 kB / 0.5722 GB, free: 14.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002852/0.5011, allocations: 257.8 kB / 0.5725 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002926/0.5014, allocations: 154.5 kB / 0.5726 GB, free: 14.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.5016, allocations: 370.8 kB / 0.573 GB, free: 13.83 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007258/0.5023, allocations: 449.8 kB / 0.5734 GB, free: 13.39 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008983/0.5032, allocations: 0.5886 MB / 0.574 GB, free: 12.74 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001578/0.5048, allocations: 0.9694 MB / 0.5749 GB, free: 11.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.5048, allocations: 4 kB / 0.5749 GB, free: 11.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00407/0.5089, allocations: 1.405 MB / 0.5763 GB, free: 10.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.5089, allocations: 12 kB / 0.5763 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.5089, allocations: 4 kB / 0.5763 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002226/0.5111, allocations: 266.3 kB / 0.5766 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008197/0.512, allocations: 191.6 kB / 0.5767 GB, free: 9.816 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006033/0.518, allocations: 3.956 MB / 0.5806 GB, free: 5.559 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007103/0.5187, allocations: 31.98 kB / 0.5806 GB, free: 5.527 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.5188, allocations: 35.98 kB / 0.5807 GB, free: 5.492 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.0004561/0.5193, allocations: 208.6 kB / 0.5809 GB, free: 5.281 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002316/0.5195, allocations: 63.58 kB / 0.5809 GB, free: 5.219 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004025/0.5235, allocations: 1.193 MB / 0.5821 GB, free: 4.004 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.5235, allocations: 8 kB / 0.5821 GB, free: 3.996 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.5236, allocations: 0 / 0.5821 GB, free: 3.996 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.5236, allocations: 11.98 kB / 0.5821 GB, free: 3.984 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005371/0.5289, allocations: 2.165 MB / 0.5842 GB, free: 1.734 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.5289, allocations: 0 / 0.5842 GB, free: 1.734 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006004/0.5295, allocations: 135.9 kB / 0.5844 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002066/0.5316, allocations: 262.4 kB / 0.5846 GB, free: 1.336 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.42e-05/0.5317, allocations: 23.98 kB / 0.5846 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005816/0.5375, allocations: 3.903 MB / 0.5884 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.5375, allocations: 8.094 kB / 0.5885 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004501/0.542, allocations: 1.654 MB / 0.5901 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004815/0.5425, allocations: 192.7 kB / 0.5903 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/0.5427, allocations: 19.94 kB / 0.5903 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006728/0.5434, allocations: 19.98 kB / 0.5903 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/0.5435, allocations: 56.48 kB / 0.5903 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.48e-05/0.5436, allocations: 24 kB / 0.5904 GB, free: 11.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007702/0.5444, allocations: 0.5146 MB / 0.5909 GB, free: 10.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5444, allocations: 0 / 0.5909 GB, free: 10.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00169/0.5461, allocations: 434.9 kB / 0.5913 GB, free: 10.13 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.006145/0.5522, allocations: 2.638 MB / 0.5939 GB, free: 7.445 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002403/0.5546, allocations: 1.143 MB / 0.595 GB, free: 6.273 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.5546, allocations: 0 / 0.595 GB, free: 6.273 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001593/0.5562, allocations: 0.6534 MB / 0.5956 GB, free: 5.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/0.5579, allocations: 160.8 kB / 0.5958 GB, free: 5.434 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01816/0.576, allocations: 7.883 MB / 0.6035 GB, free: 13.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000704/0.5767, allocations: 0.907 MB / 0.6044 GB, free: 12.36 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000572/0.5773, allocations: 129 kB / 0.6045 GB, free: 12.23 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005332/0.5778, allocations: 291.2 kB / 0.6048 GB, free: 11.95 MB / 462.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5778, allocations: 0 / 0.6048 GB, free: 11.95 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07009/0.6479, allocations: 24.47 MB / 0.6286 GB, free: 3.625 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.61/15.26, allocations: 7.844 kB / 0.6287 GB, free: 3.617 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: 18.215269278967753] Failed to read output from testmodel.py, exit status != 0: 15.374294867971912 15.396348362 14.931325054 Calling exit ...