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.001609/0.001609, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001474/0.001474, allocations: 213.6 kB / 22.25 MB, free: 5.262 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.451/1.451, allocations: 230.6 MB / 256 MB, free: 7.785 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.1399/0.1399, allocations: 24.01 MB / 336.4 MB, free: 10.84 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.00214/0.00214, allocations: 67.91 kB / 471.3 MB, free: 7.348 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3373, allocations: 59.88 MB / 0.5187 GB, free: 9.488 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.07309/0.4104, allocations: 25.11 MB / 0.5432 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01365/0.424, allocations: 8.938 MB / 0.552 GB, free: 6.156 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007717/0.4248, allocations: 11.88 kB / 0.552 GB, free: 6.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007746/0.4256, allocations: 222.4 kB / 0.5522 GB, free: 5.977 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001782/0.4273, allocations: 0.5669 MB / 0.5527 GB, free: 5.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004239/0.4316, allocations: 1.46 MB / 0.5542 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001514/0.4331, allocations: 0.951 MB / 0.5551 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006462/0.4337, allocations: 421.8 kB / 0.5555 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005538/0.4343, allocations: 427.8 kB / 0.5559 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006499/0.4349, allocations: 428.6 kB / 0.5563 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001316/0.4351, allocations: 84 kB / 0.5564 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003009/0.4381, allocations: 0.9844 MB / 0.5574 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002542/0.4383, allocations: 197.8 kB / 0.5576 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004499/0.4388, allocations: 357.6 kB / 0.5579 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004433/0.4432, allocations: 2.057 MB / 0.5599 GB, free: 15.31 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.4432, allocations: 4 kB / 0.5599 GB, free: 15.31 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4432, allocations: 0 / 0.5599 GB, free: 15.31 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.58e-05/0.4433, allocations: 0 / 0.5599 GB, free: 15.31 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.002478/0.4457, allocations: 1.154 MB / 0.561 GB, free: 14.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.4458, allocations: 12.03 kB / 0.561 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001525/0.4459, allocations: 110.4 kB / 0.5612 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008885/0.4468, allocations: 212.6 kB / 0.5614 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008314/0.4476, allocations: 429.5 kB / 0.5618 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.619e-05/0.4477, allocations: 54.38 kB / 0.5618 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.4478, allocations: 65.12 kB / 0.5619 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/0.4496, allocations: 1.116 MB / 0.563 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.4496, allocations: 11.94 kB / 0.563 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.22e-05/0.4497, allocations: 27.98 kB / 0.563 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.4497, allocations: 16 kB / 0.563 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002192/0.4519, allocations: 1.534 MB / 0.5645 GB, free: 10.76 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005166/0.4571, allocations: 2.662 MB / 0.5671 GB, free: 8.035 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/0.4586, allocations: 0.8909 MB / 0.568 GB, free: 7.137 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005385/0.4592, allocations: 370.6 kB / 0.5683 GB, free: 6.773 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003849/0.463, allocations: 1.732 MB / 0.57 GB, free: 5.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/0.4631, allocations: 46.94 kB / 0.5701 GB, free: 4.965 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.755e-06/0.4631, allocations: 0 / 0.5701 GB, free: 4.965 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.01484/0.4779, allocations: 3.391 MB / 0.5734 GB, free: 1.535 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.478, allocations: 60.06 kB / 0.5734 GB, free: 1.465 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009873/0.479, allocations: 0.7164 MB / 0.5741 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.247e-05/0.479, allocations: 37.7 kB / 0.5742 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/0.4793, allocations: 360.4 kB / 0.5745 GB, free: 352 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/0.4795, allocations: 241.9 kB / 0.5748 GB, free: 108 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003079/0.4799, allocations: 162.5 kB / 0.5749 GB, free: 15.94 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.4801, allocations: 374.7 kB / 0.5753 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006858/0.4807, allocations: 461.7 kB / 0.5757 GB, free: 15.11 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008372/0.4816, allocations: 0.6042 MB / 0.5763 GB, free: 14.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/0.483, allocations: 0.9971 MB / 0.5773 GB, free: 13.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.483, allocations: 0 / 0.5773 GB, free: 13.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003943/0.487, allocations: 1.44 MB / 0.5787 GB, free: 11.94 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.487, allocations: 6.5 kB / 0.5787 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.487, allocations: 8 kB / 0.5787 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002061/0.4891, allocations: 274.2 kB / 0.579 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007984/0.4899, allocations: 191.7 kB / 0.5791 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005404/0.4953, allocations: 3.718 MB / 0.5828 GB, free: 7.488 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006546/0.4959, allocations: 27.98 kB / 0.5828 GB, free: 7.461 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.128e-05/0.496, allocations: 35.98 kB / 0.5828 GB, free: 7.426 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.0003675/0.4964, allocations: 217.7 kB / 0.583 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/0.4966, allocations: 63.58 kB / 0.5831 GB, free: 7.141 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003727/0.5003, allocations: 1.201 MB / 0.5843 GB, free: 5.918 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/0.5003, allocations: 12 kB / 0.5843 GB, free: 5.906 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.5003, allocations: 144 / 0.5843 GB, free: 5.906 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.5003, allocations: 7.969 kB / 0.5843 GB, free: 5.898 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005131/0.5054, allocations: 2.038 MB / 0.5863 GB, free: 3.777 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.5054, allocations: 4 kB / 0.5863 GB, free: 3.773 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005818/0.506, allocations: 135.8 kB / 0.5864 GB, free: 3.641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001995/0.508, allocations: 262.4 kB / 0.5867 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.979e-05/0.5081, allocations: 23.98 kB / 0.5867 GB, free: 3.352 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005162/0.5133, allocations: 3.681 MB / 0.5903 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.5133, allocations: 7.969 kB / 0.5903 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00431/0.5176, allocations: 1.678 MB / 0.5919 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003985/0.518, allocations: 123.6 kB / 0.592 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.827e-05/0.5181, allocations: 15.94 kB / 0.5921 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004195/0.5185, allocations: 31.94 kB / 0.5921 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.5186, allocations: 56.55 kB / 0.5921 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.707e-05/0.5187, allocations: 27.98 kB / 0.5922 GB, free: 13.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006412/0.5193, allocations: 0.5108 MB / 0.5927 GB, free: 12.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5193, allocations: 0 / 0.5927 GB, free: 12.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001407/0.5207, allocations: 450.8 kB / 0.5931 GB, free: 12.48 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.005587/0.5263, allocations: 2.661 MB / 0.5957 GB, free: 9.766 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002095/0.5284, allocations: 1.167 MB / 0.5968 GB, free: 8.574 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.5284, allocations: 4.062 kB / 0.5968 GB, free: 8.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009915/0.5294, allocations: 0.6493 MB / 0.5975 GB, free: 7.895 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009421/0.5304, allocations: 157.6 kB / 0.5976 GB, free: 7.746 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01484/0.5452, allocations: 7.971 MB / 0.6054 GB, free: 15.52 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.5456, allocations: 314.7 kB / 0.6057 GB, free: 15.19 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000561/0.5461, allocations: 133 kB / 0.6058 GB, free: 15.06 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004808/0.5466, allocations: 287.3 kB / 0.6061 GB, free: 14.78 MB / 462.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5466, allocations: 0 / 0.6061 GB, free: 14.78 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06843/0.6151, allocations: 26.08 MB / 0.6316 GB, free: 4.898 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.05/14.66, allocations: 3.984 kB / 0.6316 GB, free: 4.895 MB / 478.1 MB " [Timeout remaining time 645] (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: 17.37648629490286] Failed to read output from testmodel.py, exit status != 0: 14.835926122032106 14.862420623 14.41387388 Calling exit ...