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.001517/0.001517, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001596/0.001596, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.431/1.431, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1352/0.1352, allocations: 23.91 MB / 337.1 MB, free: 10.95 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_AcidBase_AcidBaseBufferTest",fmuType="cs",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.001984/0.001984, allocations: 67.89 kB / 471.9 MB, free: 7.484 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3275, allocations: 59.87 MB / 0.5193 GB, free: 9.473 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.06928/0.3967, allocations: 24.71 MB / 0.5435 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0131/0.4098, allocations: 8.923 MB / 0.5522 GB, free: 6.648 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007769/0.4106, allocations: 11.88 kB / 0.5522 GB, free: 6.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007528/0.4114, allocations: 214.5 kB / 0.5524 GB, free: 6.477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001605/0.413, allocations: 0.5627 MB / 0.553 GB, free: 6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004034/0.417, allocations: 1.472 MB / 0.5544 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00138/0.4184, allocations: 0.9471 MB / 0.5553 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005874/0.419, allocations: 428.9 kB / 0.5557 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005135/0.4195, allocations: 431.7 kB / 0.5561 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006689/0.4202, allocations: 484.5 kB / 0.5566 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001319/0.4203, allocations: 84 kB / 0.5567 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002511/0.4228, allocations: 1.008 MB / 0.5577 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002265/0.423, allocations: 198.4 kB / 0.5579 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004168/0.4235, allocations: 364.9 kB / 0.5582 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003731/0.4272, allocations: 2.052 MB / 0.5602 GB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4272, allocations: 1.734 kB / 0.5602 GB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4272, allocations: 0 / 0.5602 GB, free: 15.71 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.667e-05/0.4272, allocations: 0 / 0.5602 GB, free: 15.71 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.002439/0.4296, allocations: 1.161 MB / 0.5613 GB, free: 14.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.4297, allocations: 8.031 kB / 0.5614 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.652e-05/0.4297, allocations: 22.19 kB / 0.5614 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000138/0.4299, allocations: 107.2 kB / 0.5615 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009066/0.4308, allocations: 208.6 kB / 0.5617 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007539/0.4315, allocations: 436.9 kB / 0.5621 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.301e-05/0.4316, allocations: 50.38 kB / 0.5621 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.4317, allocations: 72.98 kB / 0.5622 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001817/0.4335, allocations: 1.118 MB / 0.5633 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.4335, allocations: 0 / 0.5633 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.313e-05/0.4336, allocations: 32 kB / 0.5633 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.4336, allocations: 16 kB / 0.5633 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002249/0.4359, allocations: 1.55 MB / 0.5649 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005039/0.4409, allocations: 2.669 MB / 0.5675 GB, free: 8.492 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/0.4425, allocations: 0.8913 MB / 0.5683 GB, free: 7.594 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005325/0.443, allocations: 366.7 kB / 0.5687 GB, free: 7.234 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00363/0.4467, allocations: 1.736 MB / 0.5704 GB, free: 5.477 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.4467, allocations: 42.94 kB / 0.5704 GB, free: 5.426 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.665e-06/0.4467, allocations: 0 / 0.5704 GB, free: 5.426 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.01702/0.4637, allocations: 3.382 MB / 0.5737 GB, free: 2.004 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.4638, allocations: 60.06 kB / 0.5738 GB, free: 1.934 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009539/0.4647, allocations: 0.7126 MB / 0.5745 GB, free: 1.211 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.13e-05/0.4648, allocations: 33.7 kB / 0.5745 GB, free: 1.172 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002933/0.4651, allocations: 356.4 kB / 0.5749 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000236/0.4653, allocations: 249.8 kB / 0.5751 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002835/0.4656, allocations: 154.5 kB / 0.5752 GB, free: 424 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.4658, allocations: 370.8 kB / 0.5756 GB, free: 44 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007088/0.4665, allocations: 457.8 kB / 0.576 GB, free: 15.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009009/0.4674, allocations: 0.6081 MB / 0.5766 GB, free: 14.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/0.4689, allocations: 0.9971 MB / 0.5776 GB, free: 13.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.4689, allocations: 4 kB / 0.5776 GB, free: 13.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004292/0.4732, allocations: 1.436 MB / 0.579 GB, free: 12.42 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.4733, allocations: 8 kB / 0.579 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.4733, allocations: 4 kB / 0.579 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002303/0.4756, allocations: 278.1 kB / 0.5793 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008015/0.4764, allocations: 195.8 kB / 0.5795 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005937/0.4823, allocations: 3.73 MB / 0.5831 GB, free: 7.949 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007622/0.4831, allocations: 20 kB / 0.5831 GB, free: 7.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.4832, allocations: 39.98 kB / 0.5832 GB, free: 7.891 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.0003841/0.4836, allocations: 202.1 kB / 0.5834 GB, free: 7.684 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/0.4838, allocations: 67.56 kB / 0.5834 GB, free: 7.617 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00411/0.4879, allocations: 1.213 MB / 0.5846 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.4879, allocations: 4 kB / 0.5846 GB, free: 6.383 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.4879, allocations: 4 kB / 0.5846 GB, free: 6.379 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.4879, allocations: 3.984 kB / 0.5846 GB, free: 6.375 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005651/0.4935, allocations: 2.042 MB / 0.5866 GB, free: 4.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.991e-05/0.4936, allocations: 0 / 0.5866 GB, free: 4.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006368/0.4942, allocations: 143.8 kB / 0.5867 GB, free: 4.109 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002229/0.4964, allocations: 254.5 kB / 0.587 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.282e-05/0.4965, allocations: 24.03 kB / 0.587 GB, free: 3.828 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00544/0.5019, allocations: 3.688 MB / 0.5906 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.502, allocations: 7.969 kB / 0.5906 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004503/0.5065, allocations: 1.678 MB / 0.5923 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003278/0.5068, allocations: 123.5 kB / 0.5924 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.5069, allocations: 15.94 kB / 0.5924 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004453/0.5073, allocations: 23.94 kB / 0.5924 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.5075, allocations: 52.55 kB / 0.5925 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.084e-05/0.5076, allocations: 31.98 kB / 0.5925 GB, free: 13.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006305/0.5082, allocations: 0.5186 MB / 0.593 GB, free: 13.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5082, allocations: 0 / 0.593 GB, free: 13.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001368/0.5096, allocations: 446.9 kB / 0.5934 GB, free: 12.95 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.005875/0.5154, allocations: 2.649 MB / 0.596 GB, free: 10.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002045/0.5175, allocations: 1.166 MB / 0.5972 GB, free: 9.062 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.5175, allocations: 0 / 0.5972 GB, free: 9.062 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.5185, allocations: 0.6624 MB / 0.5978 GB, free: 8.375 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009257/0.5194, allocations: 165.4 kB / 0.598 GB, free: 8.219 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01558/0.535, allocations: 7.975 MB / 0.6058 GB, free: 15.98 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.5354, allocations: 314.6 kB / 0.6061 GB, free: 15.65 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005453/0.5359, allocations: 137 kB / 0.6062 GB, free: 15.52 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004724/0.5364, allocations: 287.3 kB / 0.6065 GB, free: 15.23 MB / 462.1 MB Notification: Performance of SimCode: time 7.71e-07/0.5364, allocations: 4 kB / 0.6065 GB, free: 15.23 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06027/0.5966, allocations: 25.85 MB / 0.6317 GB, free: 5.605 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.24/16.83, allocations: 7.625 kB / 0.6317 GB, free: 5.602 MB / 478.1 MB " [Timeout remaining time 643] (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 os._exit(0), Time elapsed: 19.574426430044696] Failed to read output from testmodel.py, exit status != 0: 17.026358583942056 17.043546624 16.612871863 Calling exit ...