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.0009053/0.0009053, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001002/0.001002, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9039/0.9039, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.09529/0.09529, allocations: 17.38 MB / 276.6 MB, free: 11.86 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 411.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.295e-05/2.453e-05, allocations: 4.938 kB / 411.5 MB, free: 13.24 MB / 330.7 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.02262/0.02265, allocations: 25.34 MB / 436.8 MB, free: 15.2 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.008765/0.03141, allocations: 8.95 MB / 445.7 MB, free: 7.066 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006115/0.03202, allocations: 11.88 kB / 445.7 MB, free: 7.055 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005929/0.03262, allocations: 218.3 kB / 446 MB, free: 6.891 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.03387, allocations: 0.5818 MB / 446.5 MB, free: 6.395 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003044/0.03692, allocations: 1.51 MB / 448.1 MB, free: 5.125 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001009/0.03793, allocations: 0.9806 MB / 449 MB, free: 4.23 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004599/0.03839, allocations: 429.9 kB / 449.5 MB, free: 3.914 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005042/0.03889, allocations: 0.5987 MB / 450.1 MB, free: 3.426 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003566/0.03925, allocations: 374.7 kB / 450.4 MB, free: 3.152 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.428e-05/0.03932, allocations: 88 kB / 450.5 MB, free: 3.066 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002053/0.04137, allocations: 0.9953 MB / 451.5 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.04152, allocations: 193.5 kB / 451.7 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002171/0.04173, allocations: 314 kB / 452 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002653/0.04439, allocations: 2.177 MB / 454.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.04439, allocations: 0 / 454.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.04439, allocations: 0 / 454.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.126e-05/0.04441, allocations: 0 / 454.2 MB, free: 15.63 MB / 362.7 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.001477/0.04589, allocations: 1.151 MB / 455.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.04593, allocations: 12.03 kB / 455.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.011e-05/0.04602, allocations: 110.7 kB / 455.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004848/0.04651, allocations: 208 kB / 455.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005005/0.04701, allocations: 427.4 kB / 456.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.833e-05/0.04705, allocations: 62.3 kB / 456.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.538e-05/0.04712, allocations: 68.38 kB / 456.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.04815, allocations: 1.107 MB / 457.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.04816, allocations: 192 / 457.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.455e-05/0.0482, allocations: 32.12 kB / 457.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.04822, allocations: 16 kB / 457.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.0495, allocations: 1.542 MB / 458.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003049/0.05254, allocations: 2.67 MB / 461.6 MB, free: 8.105 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009501/0.05349, allocations: 0.8986 MB / 462.5 MB, free: 7.203 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003117/0.05381, allocations: 358.7 kB / 462.8 MB, free: 6.852 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00204/0.05585, allocations: 1.732 MB / 464.5 MB, free: 5.098 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.05587, allocations: 43 kB / 464.6 MB, free: 5.047 MB / 362.7 MB Notification: Performance of pre-optimization done (n=51): time 2.696e-06/0.05587, allocations: 0 / 464.6 MB, free: 5.047 MB / 362.7 MB Notification: Performance of matching and sorting (n=68): time 0.007016/0.06289, allocations: 3.39 MB / 468 MB, free: 1.617 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.06293, allocations: 64 kB / 468 MB, free: 1.543 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005374/0.06346, allocations: 0.7125 MB / 468.7 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.0635, allocations: 41.7 kB / 468.8 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.06365, allocations: 356.4 kB / 469.1 MB, free: 424 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.06377, allocations: 241.9 kB / 469.4 MB, free: 180 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/0.06393, allocations: 154.6 kB / 469.5 MB, free: 20 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.06405, allocations: 366.8 kB / 469.9 MB, free: 15.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004075/0.06445, allocations: 457.8 kB / 470.3 MB, free: 15.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006269/0.06508, allocations: 0.6081 MB / 470.9 MB, free: 14.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008628/0.06594, allocations: 0.997 MB / 471.9 MB, free: 13.49 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.06595, allocations: 0 / 471.9 MB, free: 13.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001989/0.06794, allocations: 1.444 MB / 473.4 MB, free: 12.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.06796, allocations: 8 kB / 473.4 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.06797, allocations: 4 kB / 473.4 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009055/0.06888, allocations: 266.2 kB / 473.6 MB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003964/0.06927, allocations: 187.8 kB / 473.8 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003093/0.07237, allocations: 3.738 MB / 477.6 MB, free: 7.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003823/0.07275, allocations: 28.16 kB / 477.6 MB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-05/0.0728, allocations: 39.98 kB / 477.6 MB, free: 7.504 MB / 378.7 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.0004432/0.07325, allocations: 209.6 kB / 477.8 MB, free: 7.289 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.737e-05/0.07333, allocations: 67.5 kB / 477.9 MB, free: 7.223 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001841/0.07518, allocations: 1.201 MB / 479.1 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.07518, allocations: 8 kB / 479.1 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.07519, allocations: 0 / 479.1 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.07519, allocations: 3.984 kB / 479.1 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002679/0.07787, allocations: 2.05 MB / 481.2 MB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.07788, allocations: 0 / 481.2 MB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002853/0.07816, allocations: 139.8 kB / 481.3 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008622/0.07902, allocations: 270.2 kB / 481.6 MB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/0.07906, allocations: 16 kB / 481.6 MB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002719/0.08178, allocations: 3.688 MB / 485.3 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.08178, allocations: 0 / 485.3 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/0.08385, allocations: 1.674 MB / 486.9 MB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002007/0.08405, allocations: 119.5 kB / 487.1 MB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.833e-05/0.0841, allocations: 20 kB / 487.1 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.0843, allocations: 15.98 kB / 487.1 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.0844, allocations: 64.44 kB / 487.2 MB, free: 13.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/0.08443, allocations: 23.98 kB / 487.2 MB, free: 13.54 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003741/0.0848, allocations: 0.5186 MB / 487.7 MB, free: 13.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0848, allocations: 0 / 487.7 MB, free: 13.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009303/0.08573, allocations: 442.8 kB / 488.1 MB, free: 12.58 MB / 394.7 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.003066/0.0888, allocations: 2.666 MB / 490.8 MB, free: 9.867 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001414/0.09021, allocations: 1.17 MB / 492 MB, free: 8.672 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.09021, allocations: 3.938 kB / 492 MB, free: 8.668 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005536/0.09077, allocations: 0.6544 MB / 492.6 MB, free: 7.988 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005961/0.09136, allocations: 165.1 kB / 492.8 MB, free: 7.828 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008367/0.09973, allocations: 7.886 MB / 0.4889 GB, free: 15.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.09996, allocations: 310.7 kB / 0.4892 GB, free: 15.35 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000366/0.1003, allocations: 133 kB / 0.4894 GB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002999/0.1006, allocations: 284.4 kB / 0.4896 GB, free: 14.94 MB / 410.7 MB Notification: Performance of SimCode: time 9.91e-07/0.1006, allocations: 4 kB / 0.4896 GB, free: 14.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03823/0.1389, allocations: 26.21 MB / 0.5152 GB, free: 4.902 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.651/8.789, allocations: 11.69 kB / 0.5152 GB, free: 4.895 MB / 426.7 MB " [Timeout remaining time 651] (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 os._exit(0), Time elapsed: 10.864093749783933] Failed to read output from testmodel.py, exit status != 0: 9.043767645023763 8.899500259 8.853468241 Calling exit ...