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.001176/0.001176, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001369/0.001369, allocations: 218.7 kB / 23.04 MB, free: 5.074 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.41/1.41, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.1341/0.1341, allocations: 23.85 MB / 337.1 MB, free: 11.19 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest,fileNamePrefix="Chemical_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.002012/0.002012, allocations: 67.91 kB / 471.9 MB, free: 7.699 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2855, allocations: 59.86 MB / 0.5193 GB, free: 9.609 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.03543/0.3209, allocations: 25.18 MB / 0.5439 GB, free: 14.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01316/0.3341, allocations: 10.19 MB / 0.5539 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006123/0.3347, allocations: 7.938 kB / 0.5539 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007196/0.3354, allocations: 238.2 kB / 0.5541 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001431/0.3369, allocations: 0.5832 MB / 0.5547 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00359/0.3405, allocations: 1.468 MB / 0.5561 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001304/0.3418, allocations: 0.9465 MB / 0.557 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006108/0.3424, allocations: 433 kB / 0.5574 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000506/0.3429, allocations: 418.6 kB / 0.5578 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006566/0.3435, allocations: 484.9 kB / 0.5583 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.3436, allocations: 88 kB / 0.5584 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002828/0.3465, allocations: 1.047 MB / 0.5594 GB, free: 308 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002339/0.3467, allocations: 202 kB / 0.5596 GB, free: 140 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004717/0.3472, allocations: 428.9 kB / 0.56 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003492/0.3507, allocations: 2.054 MB / 0.562 GB, free: 14.11 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3507, allocations: 8.578 kB / 0.562 GB, free: 14.1 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3507, allocations: 0 / 0.562 GB, free: 14.1 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.3507, allocations: 0 / 0.562 GB, free: 14.1 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.002305/0.353, allocations: 1.162 MB / 0.5632 GB, free: 13 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.353, allocations: 12.03 kB / 0.5632 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.944e-05/0.3531, allocations: 22.19 kB / 0.5632 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001368/0.3532, allocations: 106.8 kB / 0.5633 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008651/0.3541, allocations: 212.7 kB / 0.5635 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007413/0.3548, allocations: 428.9 kB / 0.5639 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.382e-05/0.3549, allocations: 58.31 kB / 0.564 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.355, allocations: 74.02 kB / 0.564 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/0.3567, allocations: 1.111 MB / 0.5651 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.3567, allocations: 4 kB / 0.5651 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.422e-05/0.3568, allocations: 24 kB / 0.5651 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.3568, allocations: 16 kB / 0.5652 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002198/0.359, allocations: 1.562 MB / 0.5667 GB, free: 9.602 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005019/0.364, allocations: 3.005 MB / 0.5696 GB, free: 6.492 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.3656, allocations: 0.9069 MB / 0.5705 GB, free: 5.578 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005237/0.3661, allocations: 366.7 kB / 0.5709 GB, free: 5.219 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003549/0.3697, allocations: 1.829 MB / 0.5726 GB, free: 3.367 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.3697, allocations: 42.98 kB / 0.5727 GB, free: 3.316 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 1.863e-06/0.3697, allocations: 0 / 0.5727 GB, free: 3.316 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.01465/0.3844, allocations: 3.391 MB / 0.576 GB, free: 15.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.3844, allocations: 60.06 kB / 0.5761 GB, free: 15.81 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008948/0.3853, allocations: 0.7048 MB / 0.5767 GB, free: 15.1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.749e-05/0.3854, allocations: 37.7 kB / 0.5768 GB, free: 15.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/0.3856, allocations: 356.4 kB / 0.5771 GB, free: 14.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002189/0.3858, allocations: 249.8 kB / 0.5774 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002708/0.3861, allocations: 162.5 kB / 0.5775 GB, free: 14.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.3863, allocations: 366.8 kB / 0.5779 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006864/0.387, allocations: 457.8 kB / 0.5783 GB, free: 13.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008195/0.3878, allocations: 0.6081 MB / 0.5789 GB, free: 12.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/0.3893, allocations: 0.9971 MB / 0.5799 GB, free: 11.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.3893, allocations: 4 kB / 0.5799 GB, free: 11.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003896/0.3932, allocations: 1.433 MB / 0.5813 GB, free: 10.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.3932, allocations: 11.94 kB / 0.5813 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.3932, allocations: 4 kB / 0.5813 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002037/0.3952, allocations: 270.2 kB / 0.5815 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007826/0.396, allocations: 191.7 kB / 0.5817 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005332/0.4013, allocations: 3.749 MB / 0.5854 GB, free: 5.824 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000563/0.4019, allocations: 24 kB / 0.5854 GB, free: 5.801 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.124e-05/0.402, allocations: 36.12 kB / 0.5854 GB, free: 5.766 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.00034/0.4023, allocations: 210.2 kB / 0.5856 GB, free: 5.551 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.4025, allocations: 71.58 kB / 0.5857 GB, free: 5.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003734/0.4062, allocations: 1.201 MB / 0.5869 GB, free: 4.262 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.4062, allocations: 12 kB / 0.5869 GB, free: 4.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.4062, allocations: 0 / 0.5869 GB, free: 4.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.4062, allocations: 3.984 kB / 0.5869 GB, free: 4.246 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005191/0.4114, allocations: 2.158 MB / 0.589 GB, free: 2.004 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.4114, allocations: 7.984 kB / 0.589 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006028/0.412, allocations: 135.8 kB / 0.5891 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001979/0.414, allocations: 266.4 kB / 0.5894 GB, free: 1.594 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-05/0.4141, allocations: 23.98 kB / 0.5894 GB, free: 1.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005094/0.4192, allocations: 3.712 MB / 0.593 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4192, allocations: 0 / 0.593 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004299/0.4235, allocations: 1.682 MB / 0.5947 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000346/0.4238, allocations: 119.5 kB / 0.5948 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.4239, allocations: 19.94 kB / 0.5948 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004064/0.4243, allocations: 16 kB / 0.5948 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.4245, allocations: 60.55 kB / 0.5949 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.658e-05/0.4245, allocations: 23.98 kB / 0.5949 GB, free: 11.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006151/0.4251, allocations: 0.5186 MB / 0.5954 GB, free: 11.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4251, allocations: 0 / 0.5954 GB, free: 11.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001281/0.4264, allocations: 438.9 kB / 0.5958 GB, free: 10.69 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.005439/0.4319, allocations: 2.662 MB / 0.5984 GB, free: 7.977 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002028/0.4339, allocations: 1.166 MB / 0.5996 GB, free: 6.785 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4339, allocations: 0 / 0.5996 GB, free: 6.785 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009907/0.4349, allocations: 0.6586 MB / 0.6002 GB, free: 6.102 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009259/0.4358, allocations: 166.8 kB / 0.6004 GB, free: 5.949 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/0.4505, allocations: 7.979 MB / 0.6082 GB, free: 13.71 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005827/0.4511, allocations: 0.9109 MB / 0.6091 GB, free: 12.77 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00051/0.4516, allocations: 129 kB / 0.6092 GB, free: 12.64 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004554/0.4521, allocations: 291.3 kB / 0.6095 GB, free: 12.36 MB / 462.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4521, allocations: 0 / 0.6095 GB, free: 12.36 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05868/0.5108, allocations: 25.17 MB / 0.634 GB, free: 3.344 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.55/16.06, allocations: 7.984 kB / 0.6341 GB, free: 3.336 MB / 478.1 MB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_AcidBase_AcidBaseBufferTest_fmu --startTime=0 --stopTime=0.05 --stepSize=2e-05 --timeout=50 --tolerance=1e-06 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: 18.869009011075832] Failed to read output from testmodel.py, exit status != 0: 16.25480733299628 16.282939878 15.927128999 Calling exit ...