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.001536/0.001536, allocations: 99.64 kB / 18.95 MB, free: 2.836 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.001984/0.001984, allocations: 214.5 kB / 22.24 MB, free: 5.102 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.487/1.487, allocations: 230.6 MB / 256 MB, free: 7.816 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.1398/0.1398, allocations: 23.88 MB / 336.3 MB, free: 11.07 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="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: 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.002114/0.002114, allocations: 71.88 kB / 471.1 MB, free: 7.539 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3365, allocations: 59.86 MB / 0.5185 GB, free: 9.172 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.07514/0.4116, allocations: 25.09 MB / 0.543 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01343/0.425, allocations: 8.942 MB / 0.5518 GB, free: 6.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008704/0.4259, allocations: 11.88 kB / 0.5518 GB, free: 6.121 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008734/0.4268, allocations: 222 kB / 0.552 GB, free: 5.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001997/0.4288, allocations: 0.5637 MB / 0.5525 GB, free: 5.477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004663/0.4334, allocations: 1.464 MB / 0.554 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001619/0.4351, allocations: 0.9507 MB / 0.5549 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006581/0.4357, allocations: 418.1 kB / 0.5553 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005698/0.4363, allocations: 435.3 kB / 0.5557 GB, free: 2.703 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006878/0.437, allocations: 421.1 kB / 0.5561 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001493/0.4371, allocations: 84 kB / 0.5562 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003395/0.4405, allocations: 0.9839 MB / 0.5572 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002598/0.4408, allocations: 194.4 kB / 0.5573 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006339/0.4414, allocations: 361.1 kB / 0.5577 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005698/0.4471, allocations: 2.058 MB / 0.5597 GB, free: 15.28 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.4471, allocations: 0.5156 kB / 0.5597 GB, free: 15.28 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.4471, allocations: 0 / 0.5597 GB, free: 15.28 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.749e-05/0.4472, allocations: 4 kB / 0.5597 GB, free: 15.28 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.004169/0.4514, allocations: 1.158 MB / 0.5608 GB, free: 14.19 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.4514, allocations: 12.03 kB / 0.5608 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002361/0.4517, allocations: 106.9 kB / 0.5609 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.4527, allocations: 208.3 kB / 0.5611 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.4538, allocations: 433.7 kB / 0.5616 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.18e-05/0.4538, allocations: 50.38 kB / 0.5616 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/0.454, allocations: 73.41 kB / 0.5617 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/0.456, allocations: 1.112 MB / 0.5628 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.4561, allocations: 7.938 kB / 0.5628 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.682e-05/0.4561, allocations: 28 kB / 0.5628 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/0.4562, allocations: 16 kB / 0.5628 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002311/0.4585, allocations: 1.542 MB / 0.5643 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0056/0.4641, allocations: 2.666 MB / 0.5669 GB, free: 8.125 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.4657, allocations: 0.8992 MB / 0.5678 GB, free: 7.219 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005489/0.4663, allocations: 366.6 kB / 0.5681 GB, free: 6.859 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003942/0.4702, allocations: 1.728 MB / 0.5698 GB, free: 5.109 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.4702, allocations: 46.94 kB / 0.5699 GB, free: 5.055 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.274e-06/0.4702, allocations: 3.938 kB / 0.5699 GB, free: 5.051 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.01528/0.4855, allocations: 3.387 MB / 0.5732 GB, free: 1.625 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.4856, allocations: 60.06 kB / 0.5732 GB, free: 1.555 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.4867, allocations: 0.7164 MB / 0.5739 GB, free: 0.832 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.623e-05/0.4868, allocations: 37.7 kB / 0.574 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003436/0.4871, allocations: 356.4 kB / 0.5743 GB, free: 448 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002978/0.4874, allocations: 245.9 kB / 0.5746 GB, free: 200 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004051/0.4878, allocations: 154.6 kB / 0.5747 GB, free: 40 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002442/0.4881, allocations: 370.8 kB / 0.5751 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007514/0.4888, allocations: 461.8 kB / 0.5755 GB, free: 15.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000909/0.4897, allocations: 0.6003 MB / 0.5761 GB, free: 14.56 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.4913, allocations: 1.001 MB / 0.5771 GB, free: 13.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.4913, allocations: 0 / 0.5771 GB, free: 13.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004087/0.4954, allocations: 1.437 MB / 0.5785 GB, free: 12.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.4954, allocations: 7.984 kB / 0.5785 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.4954, allocations: 4 kB / 0.5785 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002198/0.4976, allocations: 270.2 kB / 0.5787 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007944/0.4984, allocations: 191.7 kB / 0.5789 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005835/0.5042, allocations: 3.73 MB / 0.5826 GB, free: 7.586 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006623/0.5049, allocations: 27.98 kB / 0.5826 GB, free: 7.559 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.505, allocations: 35.98 kB / 0.5826 GB, free: 7.523 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.000423/0.5054, allocations: 216.7 kB / 0.5828 GB, free: 7.305 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002333/0.5057, allocations: 63.58 kB / 0.5829 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00378/0.5095, allocations: 1.209 MB / 0.5841 GB, free: 6.012 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.5095, allocations: 8 kB / 0.5841 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.5095, allocations: 4 kB / 0.5841 GB, free: 6 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.5095, allocations: 3.984 kB / 0.5841 GB, free: 5.996 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00512/0.5146, allocations: 2.049 MB / 0.5861 GB, free: 3.863 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/0.5146, allocations: 4 kB / 0.5861 GB, free: 3.859 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005757/0.5152, allocations: 135.8 kB / 0.5862 GB, free: 3.727 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002024/0.5172, allocations: 262.4 kB / 0.5865 GB, free: 3.461 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.544e-05/0.5173, allocations: 23.98 kB / 0.5865 GB, free: 3.438 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005176/0.5225, allocations: 3.684 MB / 0.5901 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.285e-06/0.5225, allocations: 3.938 kB / 0.5901 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004253/0.5267, allocations: 1.674 MB / 0.5917 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004022/0.5271, allocations: 119.6 kB / 0.5918 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.5273, allocations: 19.92 kB / 0.5919 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004607/0.5277, allocations: 20 kB / 0.5919 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.5279, allocations: 60.48 kB / 0.5919 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.885e-05/0.5279, allocations: 24.23 kB / 0.592 GB, free: 13.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006706/0.5286, allocations: 0.5186 MB / 0.5925 GB, free: 13.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5286, allocations: 0 / 0.5925 GB, free: 13.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001467/0.5301, allocations: 446.8 kB / 0.5929 GB, free: 12.57 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.005825/0.5359, allocations: 2.662 MB / 0.5955 GB, free: 9.863 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002208/0.5381, allocations: 1.163 MB / 0.5966 GB, free: 8.676 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.5381, allocations: 4.125 kB / 0.5966 GB, free: 8.672 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001244/0.5394, allocations: 0.6532 MB / 0.5973 GB, free: 7.992 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.5404, allocations: 157.4 kB / 0.5974 GB, free: 7.844 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0156/0.556, allocations: 7.978 MB / 0.6052 GB, free: 15.61 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004265/0.5564, allocations: 314.7 kB / 0.6055 GB, free: 15.28 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005343/0.5569, allocations: 129 kB / 0.6056 GB, free: 15.16 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005075/0.5574, allocations: 283.3 kB / 0.6059 GB, free: 14.88 MB / 462.1 MB Notification: Performance of SimCode: time 6.62e-07/0.5574, allocations: 0 / 0.6059 GB, free: 14.88 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07022/0.6277, allocations: 26.08 MB / 0.6314 GB, free: 5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/14.6, allocations: 4 kB / 0.6314 GB, free: 4.996 MB / 478.1 MB " [Timeout remaining time 645] (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: 17.337840021122247] Failed to read output from testmodel.py, exit status != 0: 14.73836721200496 14.764417563 14.31252162 Calling exit ...