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.001256/0.001256, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001551/0.001551, allocations: 219.7 kB / 23.03 MB, free: 4.949 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.1387/0.1387, allocations: 23.87 MB / 337.1 MB, free: 11.09 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.001979/0.001979, allocations: 59.91 kB / 471.9 MB, free: 7.547 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3347, allocations: 59.86 MB / 0.5193 GB, free: 9.48 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.07002/0.4047, allocations: 24.72 MB / 0.5434 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01256/0.4172, allocations: 8.923 MB / 0.5521 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000702/0.4179, allocations: 11.94 kB / 0.5522 GB, free: 6.668 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007317/0.4187, allocations: 211.2 kB / 0.5524 GB, free: 6.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001668/0.4203, allocations: 0.5657 MB / 0.5529 GB, free: 6.031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004839/0.4252, allocations: 1.468 MB / 0.5543 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001788/0.427, allocations: 0.9471 MB / 0.5553 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007083/0.4277, allocations: 432.6 kB / 0.5557 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006818/0.4284, allocations: 432.2 kB / 0.5561 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008172/0.4292, allocations: 480.5 kB / 0.5566 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001519/0.4293, allocations: 84 kB / 0.5566 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002855/0.4322, allocations: 1.008 MB / 0.5576 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002617/0.4325, allocations: 194.4 kB / 0.5578 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004577/0.4329, allocations: 361.5 kB / 0.5582 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00409/0.437, allocations: 2.054 MB / 0.5602 GB, free: 15.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.437, allocations: 0 / 0.5602 GB, free: 15.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.437, allocations: 0 / 0.5602 GB, free: 15.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.334e-05/0.437, allocations: 0 / 0.5602 GB, free: 15.75 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.002511/0.4395, allocations: 1.163 MB / 0.5613 GB, free: 14.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.4396, allocations: 8.031 kB / 0.5613 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.18e-05/0.4396, allocations: 18.19 kB / 0.5613 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001439/0.4398, allocations: 110.5 kB / 0.5614 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009057/0.4407, allocations: 212.5 kB / 0.5616 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008183/0.4415, allocations: 441.5 kB / 0.562 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.859e-05/0.4415, allocations: 54.38 kB / 0.5621 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.4417, allocations: 77.02 kB / 0.5622 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.4435, allocations: 1.111 MB / 0.5633 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.4436, allocations: 0 / 0.5633 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.335e-05/0.4436, allocations: 24 kB / 0.5633 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.4436, allocations: 20 kB / 0.5633 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00226/0.4459, allocations: 1.558 MB / 0.5648 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005002/0.4509, allocations: 2.662 MB / 0.5674 GB, free: 8.535 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/0.4524, allocations: 0.8913 MB / 0.5683 GB, free: 7.637 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005241/0.453, allocations: 366.7 kB / 0.5686 GB, free: 7.277 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0036/0.4566, allocations: 1.739 MB / 0.5703 GB, free: 5.516 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.4566, allocations: 39 kB / 0.5704 GB, free: 5.469 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.164e-06/0.4566, allocations: 0 / 0.5704 GB, free: 5.469 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.01624/0.4728, allocations: 3.39 MB / 0.5737 GB, free: 2.039 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.4729, allocations: 60.06 kB / 0.5737 GB, free: 1.969 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000927/0.4738, allocations: 0.7009 MB / 0.5744 GB, free: 1.258 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.774e-05/0.4739, allocations: 37.7 kB / 0.5745 GB, free: 1.215 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000271/0.4742, allocations: 360.4 kB / 0.5748 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002315/0.4744, allocations: 249.8 kB / 0.575 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002815/0.4747, allocations: 158.5 kB / 0.5752 GB, free: 460 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.4749, allocations: 366.8 kB / 0.5755 GB, free: 84 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007004/0.4756, allocations: 461.8 kB / 0.576 GB, free: 15.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008279/0.4764, allocations: 0.6042 MB / 0.5766 GB, free: 14.97 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/0.4778, allocations: 0.9971 MB / 0.5776 GB, free: 13.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.4778, allocations: 0 / 0.5776 GB, free: 13.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004146/0.482, allocations: 1.444 MB / 0.579 GB, free: 12.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.482, allocations: 8 kB / 0.579 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.482, allocations: 4 kB / 0.579 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002256/0.4843, allocations: 270.2 kB / 0.5792 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008197/0.4851, allocations: 191.7 kB / 0.5794 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005459/0.4906, allocations: 3.718 MB / 0.583 GB, free: 8.004 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000651/0.4912, allocations: 32 kB / 0.5831 GB, free: 7.973 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.05e-05/0.4913, allocations: 35.98 kB / 0.5831 GB, free: 7.938 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.0003422/0.4916, allocations: 210.1 kB / 0.5833 GB, free: 7.723 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.4918, allocations: 63.73 kB / 0.5834 GB, free: 7.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004007/0.4958, allocations: 1.212 MB / 0.5846 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.4958, allocations: 8 kB / 0.5846 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4958, allocations: 3.938 kB / 0.5846 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.4958, allocations: 3.984 kB / 0.5846 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005218/0.501, allocations: 2.042 MB / 0.5866 GB, free: 4.293 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.501, allocations: 0 / 0.5866 GB, free: 4.293 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006042/0.5017, allocations: 140 kB / 0.5867 GB, free: 4.156 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002207/0.5039, allocations: 266.3 kB / 0.587 GB, free: 3.887 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.817e-05/0.5039, allocations: 19.98 kB / 0.587 GB, free: 3.867 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005507/0.5094, allocations: 3.688 MB / 0.5906 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5094, allocations: 3.938 kB / 0.5906 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00461/0.5141, allocations: 1.686 MB / 0.5922 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004426/0.5145, allocations: 115.5 kB / 0.5923 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.5146, allocations: 23.94 kB / 0.5924 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000446/0.5151, allocations: 12 kB / 0.5924 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.5152, allocations: 60.55 kB / 0.5924 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.763e-05/0.5153, allocations: 23.98 kB / 0.5924 GB, free: 13.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006256/0.5159, allocations: 0.5264 MB / 0.593 GB, free: 13.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5159, allocations: 4 kB / 0.593 GB, free: 13.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001488/0.5174, allocations: 434.9 kB / 0.5934 GB, free: 13 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.005914/0.5233, allocations: 2.642 MB / 0.596 GB, free: 10.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002231/0.5255, allocations: 1.17 MB / 0.5971 GB, free: 9.109 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/0.5256, allocations: 5.125 kB / 0.5971 GB, free: 9.105 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.5266, allocations: 0.6574 MB / 0.5977 GB, free: 8.422 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.5277, allocations: 171.6 kB / 0.5979 GB, free: 8.262 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01576/0.5434, allocations: 7.974 MB / 0.6057 GB, free: 32 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.5438, allocations: 314.7 kB / 0.606 GB, free: 15.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005852/0.5444, allocations: 137 kB / 0.6061 GB, free: 15.56 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005021/0.5449, allocations: 283.3 kB / 0.6064 GB, free: 15.29 MB / 462.1 MB Notification: Performance of SimCode: time 8.21e-07/0.5449, allocations: 0 / 0.6064 GB, free: 15.29 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06036/0.6052, allocations: 25.86 MB / 0.6317 GB, free: 5.656 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.55/16.16, allocations: 3.984 kB / 0.6317 GB, free: 5.652 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 os._exit(0), Time elapsed: 18.888935599010438] Failed to read output from testmodel.py, exit status != 0: 16.350146700046025 16.379711068 15.937411169 Calling exit ...