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.001456/0.001456, allocations: 108.4 kB / 16.46 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.001383/0.001383, allocations: 216.2 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.531/1.531, allocations: 230.6 MB / 252.8 MB, free: 9.004 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.1441/0.1441, allocations: 23.85 MB / 332.7 MB, free: 12.39 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.002069/0.002069, allocations: 59.91 kB / 466 MB, free: 10.14 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.295, allocations: 59.83 MB / 0.5135 GB, free: 8.863 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.0349/0.3299, allocations: 25.13 MB / 0.538 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01406/0.3439, allocations: 10.16 MB / 0.5479 GB, free: 6.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007619/0.3447, allocations: 7.938 kB / 0.5479 GB, free: 6.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.3457, allocations: 238.5 kB / 0.5482 GB, free: 5.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002257/0.348, allocations: 0.58 MB / 0.5487 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00438/0.3524, allocations: 1.452 MB / 0.5502 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001691/0.3541, allocations: 0.9513 MB / 0.5511 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006036/0.3547, allocations: 432.1 kB / 0.5515 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005695/0.3552, allocations: 428.2 kB / 0.5519 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006196/0.3558, allocations: 472.8 kB / 0.5524 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.356, allocations: 84 kB / 0.5524 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003267/0.3592, allocations: 1.05 MB / 0.5535 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002385/0.3595, allocations: 202.3 kB / 0.5537 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004782/0.3599, allocations: 424.6 kB / 0.5541 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004246/0.3642, allocations: 2.062 MB / 0.5561 GB, free: 15.08 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3642, allocations: 7.875 kB / 0.5561 GB, free: 15.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3642, allocations: 4 kB / 0.5561 GB, free: 15.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.3642, allocations: 0 / 0.5561 GB, free: 15.07 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.002337/0.3666, allocations: 1.234 MB / 0.5573 GB, free: 13.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.3666, allocations: 12.03 kB / 0.5573 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001557/0.3668, allocations: 110.7 kB / 0.5574 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008759/0.3676, allocations: 208.2 kB / 0.5576 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007726/0.3684, allocations: 0.4896 MB / 0.5581 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.261e-05/0.3685, allocations: 50.38 kB / 0.5581 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.3686, allocations: 73.08 kB / 0.5582 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.3703, allocations: 1.086 MB / 0.5593 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.3703, allocations: 4 kB / 0.5593 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.597e-05/0.3704, allocations: 28 kB / 0.5593 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.3704, allocations: 16 kB / 0.5593 GB, free: 12.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002277/0.3727, allocations: 1.513 MB / 0.5608 GB, free: 10.76 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00545/0.3782, allocations: 3.017 MB / 0.5637 GB, free: 7.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001622/0.3798, allocations: 0.9548 MB / 0.5647 GB, free: 6.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005321/0.3803, allocations: 362.3 kB / 0.565 GB, free: 6.324 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003918/0.3842, allocations: 2.465 MB / 0.5674 GB, free: 3.672 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.3843, allocations: 39 kB / 0.5675 GB, free: 3.625 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.445e-06/0.3843, allocations: 0 / 0.5675 GB, free: 3.625 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.01481/0.3991, allocations: 3.494 MB / 0.5709 GB, free: 60 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/0.3992, allocations: 59.97 kB / 0.5709 GB, free: 15.99 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008757/0.4, allocations: 0.6892 MB / 0.5716 GB, free: 15.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.609e-05/0.4001, allocations: 45.7 kB / 0.5716 GB, free: 15.24 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002595/0.4004, allocations: 356.4 kB / 0.572 GB, free: 14.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002307/0.4006, allocations: 249.8 kB / 0.5722 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002719/0.4009, allocations: 154.5 kB / 0.5724 GB, free: 14.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.401, allocations: 366.8 kB / 0.5727 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006628/0.4017, allocations: 449.7 kB / 0.5731 GB, free: 13.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008258/0.4025, allocations: 0.5847 MB / 0.5737 GB, free: 13.04 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/0.404, allocations: 0.9772 MB / 0.5747 GB, free: 12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.404, allocations: 0 / 0.5747 GB, free: 12 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003985/0.408, allocations: 1.409 MB / 0.576 GB, free: 10.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.408, allocations: 4 kB / 0.5761 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.408, allocations: 4 kB / 0.5761 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002064/0.4101, allocations: 266.3 kB / 0.5763 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008981/0.411, allocations: 199.6 kB / 0.5765 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005736/0.4167, allocations: 3.964 MB / 0.5804 GB, free: 5.836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006396/0.4174, allocations: 20 kB / 0.5804 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.887e-05/0.4175, allocations: 39.97 kB / 0.5804 GB, free: 5.777 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.0003617/0.4178, allocations: 217.1 kB / 0.5806 GB, free: 5.559 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.418, allocations: 63.58 kB / 0.5807 GB, free: 5.496 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003725/0.4217, allocations: 1.185 MB / 0.5819 GB, free: 4.289 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.4217, allocations: 8 kB / 0.5819 GB, free: 4.281 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4217, allocations: 3.938 kB / 0.5819 GB, free: 4.277 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.4217, allocations: 3.984 kB / 0.5819 GB, free: 4.273 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005083/0.4268, allocations: 2.165 MB / 0.584 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.4268, allocations: 0 / 0.584 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005841/0.4274, allocations: 144 kB / 0.5841 GB, free: 1.883 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002004/0.4294, allocations: 262.2 kB / 0.5844 GB, free: 1.617 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.355e-05/0.4295, allocations: 24 kB / 0.5844 GB, free: 1.594 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005285/0.4348, allocations: 3.903 MB / 0.5882 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.4348, allocations: 4.031 kB / 0.5882 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004174/0.4389, allocations: 1.654 MB / 0.5898 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003451/0.4393, allocations: 200.6 kB / 0.59 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.03e-05/0.4394, allocations: 15.94 kB / 0.59 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004034/0.4398, allocations: 16 kB / 0.59 GB, free: 11.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.4399, allocations: 56.48 kB / 0.5901 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.845e-05/0.44, allocations: 23.98 kB / 0.5901 GB, free: 11.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006105/0.4406, allocations: 0.5108 MB / 0.5906 GB, free: 10.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4406, allocations: 0 / 0.5906 GB, free: 10.85 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00135/0.4419, allocations: 438.9 kB / 0.591 GB, free: 10.42 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.005511/0.4474, allocations: 2.645 MB / 0.5936 GB, free: 7.723 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002059/0.4495, allocations: 1.142 MB / 0.5947 GB, free: 6.551 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4495, allocations: 1.125 kB / 0.5947 GB, free: 6.551 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.4505, allocations: 0.653 MB / 0.5954 GB, free: 5.867 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000938/0.4515, allocations: 159.9 kB / 0.5955 GB, free: 5.715 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/0.4662, allocations: 7.874 MB / 0.6032 GB, free: 13.58 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005819/0.4668, allocations: 0.9148 MB / 0.6041 GB, free: 12.64 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005047/0.4673, allocations: 125 kB / 0.6042 GB, free: 12.52 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004603/0.4677, allocations: 291.3 kB / 0.6045 GB, free: 12.23 MB / 462.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4677, allocations: 0 / 0.6045 GB, free: 12.23 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06543/0.5332, allocations: 24.46 MB / 0.6284 GB, free: 3.914 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.4/14.94, allocations: 15.8 kB / 0.6284 GB, free: 3.898 MB / 478.1 MB " [Timeout remaining time 645] (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 & python3 -m fmpy simulate --output-file Chemical_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_Chemical_Obsolete_Examples_AcidBase_AcidBaseBufferTest.fmu > Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.74974157199904] Failed to read output from testmodel.py, exit status != 0: 15.050595855005668 15.072836029 14.704373237 Calling exit ...