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.001262/0.001262, allocations: 95.77 kB / 18.94 MB, free: 2.832 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.00151/0.00151, allocations: 220.2 kB / 22.25 MB, free: 5.113 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.382/1.382, allocations: 230.6 MB / 256 MB, free: 7.828 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.1342/0.1342, allocations: 23.92 MB / 336.3 MB, free: 11.05 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.001999/0.001999, allocations: 63.89 kB / 471.2 MB, free: 7.508 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.3, allocations: 59.88 MB / 0.5186 GB, free: 9.465 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.06553/0.3655, allocations: 24.98 MB / 0.543 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0129/0.3784, allocations: 8.943 MB / 0.5517 GB, free: 6.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007444/0.3792, allocations: 11.88 kB / 0.5517 GB, free: 6.348 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007942/0.38, allocations: 215.3 kB / 0.5519 GB, free: 6.188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001581/0.3815, allocations: 0.5651 MB / 0.5525 GB, free: 5.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003933/0.3855, allocations: 1.464 MB / 0.5539 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001478/0.387, allocations: 0.9472 MB / 0.5549 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000596/0.3875, allocations: 433.8 kB / 0.5553 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006181/0.3882, allocations: 436.2 kB / 0.5557 GB, free: 2.922 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008117/0.389, allocations: 476.8 kB / 0.5561 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.3891, allocations: 88 kB / 0.5562 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002485/0.3916, allocations: 1.012 MB / 0.5572 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003402/0.3919, allocations: 193.8 kB / 0.5574 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004125/0.3923, allocations: 361.6 kB / 0.5577 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003502/0.3958, allocations: 2.055 MB / 0.5597 GB, free: 15.42 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3958, allocations: 0 / 0.5597 GB, free: 15.42 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3958, allocations: 0 / 0.5597 GB, free: 15.42 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.3959, allocations: 0 / 0.5597 GB, free: 15.42 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.002311/0.3982, allocations: 1.158 MB / 0.5609 GB, free: 14.33 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3982, allocations: 16.81 kB / 0.5609 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001493/0.3984, allocations: 110.2 kB / 0.561 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008423/0.3992, allocations: 208.4 kB / 0.5612 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007433/0.3999, allocations: 433.4 kB / 0.5616 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.017e-05/0.4, allocations: 54.38 kB / 0.5617 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.4001, allocations: 72.84 kB / 0.5617 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/0.4019, allocations: 1.111 MB / 0.5628 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.4019, allocations: 0 / 0.5628 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.156e-05/0.4019, allocations: 28 kB / 0.5628 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.402, allocations: 16 kB / 0.5629 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002364/0.4043, allocations: 1.546 MB / 0.5644 GB, free: 10.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005004/0.4093, allocations: 2.654 MB / 0.567 GB, free: 8.254 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/0.4108, allocations: 0.8991 MB / 0.5678 GB, free: 7.348 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005065/0.4113, allocations: 366.6 kB / 0.5682 GB, free: 6.988 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003542/0.4149, allocations: 1.732 MB / 0.5699 GB, free: 5.234 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.4149, allocations: 39 kB / 0.5699 GB, free: 5.188 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 1.853e-06/0.4149, allocations: 0 / 0.5699 GB, free: 5.188 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.01643/0.4313, allocations: 3.392 MB / 0.5732 GB, free: 1.754 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/0.4314, allocations: 60.06 kB / 0.5733 GB, free: 1.684 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008865/0.4323, allocations: 0.7242 MB / 0.574 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.91e-05/0.4323, allocations: 37.7 kB / 0.574 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002682/0.4326, allocations: 356.4 kB / 0.5744 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002241/0.4328, allocations: 249.9 kB / 0.5746 GB, free: 316 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002618/0.4331, allocations: 150.6 kB / 0.5748 GB, free: 160 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.4333, allocations: 366.8 kB / 0.5751 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006606/0.434, allocations: 465.8 kB / 0.5755 GB, free: 15.33 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000797/0.4348, allocations: 0.6003 MB / 0.5761 GB, free: 14.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.4362, allocations: 0.9932 MB / 0.5771 GB, free: 13.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.463e-06/0.4362, allocations: 7.938 kB / 0.5771 GB, free: 13.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004214/0.4404, allocations: 1.433 MB / 0.5785 GB, free: 12.17 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.4404, allocations: 11.94 kB / 0.5785 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.4404, allocations: 4 kB / 0.5785 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002313/0.4427, allocations: 266.3 kB / 0.5788 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008135/0.4435, allocations: 195.6 kB / 0.579 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00541/0.449, allocations: 3.726 MB / 0.5826 GB, free: 7.711 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006576/0.4496, allocations: 23.94 kB / 0.5826 GB, free: 7.688 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.944e-05/0.4497, allocations: 35.98 kB / 0.5827 GB, free: 7.652 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.0003476/0.4501, allocations: 209.6 kB / 0.5829 GB, free: 7.438 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.4502, allocations: 63.58 kB / 0.5829 GB, free: 7.375 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003954/0.4542, allocations: 1.213 MB / 0.5841 GB, free: 6.141 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.4542, allocations: 8 kB / 0.5841 GB, free: 6.133 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.4542, allocations: 0 / 0.5841 GB, free: 6.133 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.4542, allocations: 7.984 kB / 0.5841 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005199/0.4594, allocations: 2.053 MB / 0.5861 GB, free: 3.988 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.4594, allocations: 0 / 0.5861 GB, free: 3.988 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005906/0.46, allocations: 139.8 kB / 0.5863 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002198/0.4622, allocations: 262.5 kB / 0.5865 GB, free: 3.586 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-05/0.4622, allocations: 20 kB / 0.5865 GB, free: 3.566 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005186/0.4674, allocations: 3.692 MB / 0.5901 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4674, allocations: 0 / 0.5901 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00438/0.4718, allocations: 1.686 MB / 0.5918 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003354/0.4721, allocations: 115.6 kB / 0.5919 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.767e-05/0.4722, allocations: 19.94 kB / 0.5919 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004386/0.4727, allocations: 15.98 kB / 0.5919 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.4728, allocations: 60.5 kB / 0.592 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-05/0.4729, allocations: 27.98 kB / 0.592 GB, free: 13.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006249/0.4735, allocations: 0.5186 MB / 0.5925 GB, free: 13.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4735, allocations: 0 / 0.5925 GB, free: 13.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001229/0.4747, allocations: 438.8 kB / 0.5929 GB, free: 12.7 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.005498/0.4802, allocations: 2.655 MB / 0.5955 GB, free: 9.996 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001889/0.4821, allocations: 1.17 MB / 0.5967 GB, free: 8.801 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4821, allocations: 0 / 0.5967 GB, free: 8.801 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009567/0.4831, allocations: 0.6546 MB / 0.5973 GB, free: 8.121 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008486/0.4839, allocations: 171.8 kB / 0.5975 GB, free: 7.965 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01467/0.4986, allocations: 7.967 MB / 0.6053 GB, free: 15.74 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.4989, allocations: 318.6 kB / 0.6056 GB, free: 15.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004763/0.4994, allocations: 125 kB / 0.6057 GB, free: 15.28 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004477/0.4999, allocations: 287.3 kB / 0.6059 GB, free: 15 MB / 462.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4999, allocations: 0 / 0.6059 GB, free: 15 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06717/0.567, allocations: 26.33 MB / 0.6317 GB, free: 4.867 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/13.75, allocations: 14.66 kB / 0.6317 GB, free: 4.855 MB / 478.1 MB " [Timeout remaining time 646] (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: 16.275288186996477] Failed to read output from testmodel.py, exit status != 0: 13.878506364999339 13.893587689 13.494647341 Calling exit ...