Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002139/0.002139, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08762/0.08762, allocations: 15.54 MB / 318.2 MB, free: 10.21 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Chemical.Examples.AcidBase.AcidBaseBufferTest,fileNamePrefix="Chemical_Chemical_Examples_AcidBase_AcidBaseBufferTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.AcidBase.AcidBaseBufferTest,fileNamePrefix="Chemical_Chemical_Examples_AcidBase_AcidBaseBufferTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 71.88 kB / 444.9 MB, free: 13.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1124, allocations: 56.55 MB / 0.4897 GB, free: 4.898 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:3019:6-3019: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 1.4.1-master/package.mo:3019:6-3019: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.Examples.AcidBase.AcidBaseBufferTest): time 0.3969/0.5094, allocations: 25.08 MB / 0.5142 GB, free: 5.309 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008418/0.5178, allocations: 10.11 MB / 0.5241 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004232/0.5182, allocations: 13.44 kB / 0.5241 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006501/0.5189, allocations: 249.8 kB / 0.5243 GB, free: 416 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001389/0.5203, allocations: 0.5753 MB / 0.5249 GB, free: 76 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003752/0.524, allocations: 1.45 MB / 0.5263 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00126/0.5253, allocations: 0.946 MB / 0.5272 GB, free: 15.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006383/0.5259, allocations: 427.5 kB / 0.5277 GB, free: 15.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007162/0.5266, allocations: 425.9 kB / 0.5281 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008732/0.5275, allocations: 473 kB / 0.5285 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002386/0.5277, allocations: 84.84 kB / 0.5286 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003376/0.5311, allocations: 1.06 MB / 0.5296 GB, free: 14.87 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000288/0.5314, allocations: 190.1 kB / 0.5298 GB, free: 14.78 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007515/0.5322, allocations: 434.4 kB / 0.5302 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004556/0.5367, allocations: 1.997 MB / 0.5322 GB, free: 13.63 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.5367, allocations: 0 / 0.5322 GB, free: 13.63 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.5367, allocations: 0 / 0.5322 GB, free: 13.63 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.704e-05/0.5368, allocations: 0 / 0.5322 GB, free: 13.63 MB / 398.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.003448/0.5402, allocations: 1.235 MB / 0.5334 GB, free: 12.78 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.5403, allocations: 14.59 kB / 0.5334 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002575/0.5405, allocations: 115.3 kB / 0.5335 GB, free: 12.69 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.5417, allocations: 211 kB / 0.5337 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.5427, allocations: 488.2 kB / 0.5342 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.414e-05/0.5428, allocations: 54.03 kB / 0.5342 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/0.5429, allocations: 72.33 kB / 0.5343 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001856/0.5448, allocations: 1.09 MB / 0.5354 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.5448, allocations: 0 / 0.5354 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.451e-05/0.5449, allocations: 29.5 kB / 0.5354 GB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.5449, allocations: 17.06 kB / 0.5354 GB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002361/0.5473, allocations: 1.51 MB / 0.5369 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005628/0.5529, allocations: 3.008 MB / 0.5398 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/0.5546, allocations: 0.9698 MB / 0.5408 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005454/0.5551, allocations: 359.4 kB / 0.5411 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004204/0.5593, allocations: 2.453 MB / 0.5435 GB, free: 6.816 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.5594, allocations: 36.41 kB / 0.5435 GB, free: 6.773 MB / 398.1 MB Notification: Performance of pre-optimization done (n=51): time 2.064e-06/0.5594, allocations: 1.438 kB / 0.5435 GB, free: 6.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=68): time 0.01627/0.5756, allocations: 3.508 MB / 0.547 GB, free: 4.785 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/0.5757, allocations: 63.72 kB / 0.547 GB, free: 4.719 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009186/0.5766, allocations: 0.6929 MB / 0.5477 GB, free: 4.301 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.16e-05/0.5767, allocations: 36.45 kB / 0.5477 GB, free: 4.262 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003126/0.577, allocations: 357.6 kB / 0.5481 GB, free: 3.945 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002679/0.5773, allocations: 250.7 kB / 0.5483 GB, free: 3.727 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002815/0.5776, allocations: 151.2 kB / 0.5485 GB, free: 3.637 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002309/0.5778, allocations: 375.1 kB / 0.5488 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007582/0.5785, allocations: 443.7 kB / 0.5492 GB, free: 3.051 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009445/0.5795, allocations: 0.5886 MB / 0.5498 GB, free: 2.637 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/0.5809, allocations: 0.9714 MB / 0.5508 GB, free: 2.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.5809, allocations: 3.812 kB / 0.5508 GB, free: 2.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003875/0.5848, allocations: 1.416 MB / 0.5521 GB, free: 1.254 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.5848, allocations: 7.188 kB / 0.5521 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.5849, allocations: 7.625 kB / 0.5522 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002116/0.587, allocations: 264.3 kB / 0.5524 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007674/0.5877, allocations: 193.5 kB / 0.5526 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005844/0.5936, allocations: 3.956 MB / 0.5565 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007431/0.5943, allocations: 30.67 kB / 0.5565 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.884e-05/0.5944, allocations: 38.77 kB / 0.5565 GB, free: 13.23 MB / 414.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.0003885/0.5948, allocations: 210.2 kB / 0.5567 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.595, allocations: 60.78 kB / 0.5568 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003739/0.5988, allocations: 1.183 MB / 0.5579 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.5988, allocations: 11.39 kB / 0.5579 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.5988, allocations: 3.438 kB / 0.558 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.5988, allocations: 4 kB / 0.558 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005058/0.6038, allocations: 2.154 MB / 0.5601 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.6038, allocations: 3.812 kB / 0.5601 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005392/0.6044, allocations: 139.9 kB / 0.5602 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002024/0.6064, allocations: 261 kB / 0.5604 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.445e-05/0.6065, allocations: 18.95 kB / 0.5605 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00541/0.6119, allocations: 3.91 MB / 0.5643 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.6119, allocations: 3.562 kB / 0.5643 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00422/0.6161, allocations: 1.655 MB / 0.5659 GB, free: 5.891 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004549/0.6165, allocations: 197.4 kB / 0.5661 GB, free: 5.707 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/0.6167, allocations: 15.47 kB / 0.5661 GB, free: 5.695 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004837/0.6172, allocations: 19.25 kB / 0.5661 GB, free: 5.684 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.6173, allocations: 61.8 kB / 0.5662 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.314e-05/0.6174, allocations: 25.98 kB / 0.5662 GB, free: 5.641 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006485/0.618, allocations: 0.5045 MB / 0.5667 GB, free: 5.336 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.618, allocations: 0 / 0.5667 GB, free: 5.336 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001835/0.6199, allocations: 452.9 kB / 0.5671 GB, free: 5.215 MB / 414.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.005735/0.6256, allocations: 2.616 MB / 0.5697 GB, free: 3.469 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002265/0.6279, allocations: 1.155 MB / 0.5708 GB, free: 2.785 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.6279, allocations: 0 / 0.5708 GB, free: 2.785 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009511/0.6288, allocations: 0.6514 MB / 0.5714 GB, free: 2.348 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.6298, allocations: 163.8 kB / 0.5716 GB, free: 2.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/0.6443, allocations: 7.863 MB / 0.5793 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006536/0.6449, allocations: 0.915 MB / 0.5802 GB, free: 12.33 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005275/0.6454, allocations: 133.5 kB / 0.5803 GB, free: 12.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000472/0.6459, allocations: 291.6 kB / 0.5806 GB, free: 12.04 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.6459, allocations: 0 / 0.5806 GB, free: 12.04 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06636/0.7123, allocations: 24.21 MB / 0.6042 GB, free: 4.223 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.63/15.34, allocations: 22.48 kB / 0.6042 GB, free: 4.203 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.pipe ; mkfifo Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.pipe ; head -c 1048576 < Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.pipe >> ../files/Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_AcidBase_AcidBaseBufferTest_fmu --startTime=0 --stopTime=0.05 --stepSize=2e-05 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_AcidBase_AcidBaseBufferTest.fmu > Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.05563557194546] Failed to read output from testmodel.py, exit status != 0: 15.453519545029849 15.476204149 14.935289484 Calling exit ...