Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.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.0007495/0.0007495, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007856/0.0007856, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8322/0.8322, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.08312/0.08312, allocations: 17.45 MB / 276.6 MB, free: 11.77 MB / 266.7 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.CarbonDioxideInWater,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 411.6 MB, free: 228 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.15e-05/1.265e-05, allocations: 2.281 kB / 411.6 MB, free: 224 kB / 378.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.004966/0.004979, allocations: 6.723 MB / 418.3 MB, free: 9.465 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01453/0.01951, allocations: 20.57 MB / 438.9 MB, free: 4.816 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006234/0.02013, allocations: 23.81 kB / 438.9 MB, free: 4.793 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.02114, allocations: 440.4 kB / 439.4 MB, free: 4.359 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002991/0.02413, allocations: 1.994 MB / 441.4 MB, free: 2.352 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1445/0.1687, allocations: 3.049 MB / 444.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001708/0.1704, allocations: 2.207 MB / 446.6 MB, free: 45.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006727/0.171, allocations: 1.021 MB / 447.6 MB, free: 45.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007779/0.1718, allocations: 1.485 MB / 449.1 MB, free: 45.01 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007474/0.1726, allocations: 1.013 MB / 450.1 MB, free: 44.94 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001478/0.1727, allocations: 192.5 kB / 450.3 MB, free: 44.94 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003799/0.1765, allocations: 2.406 MB / 452.7 MB, free: 44.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002343/0.1768, allocations: 483.3 kB / 453.2 MB, free: 44.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004364/0.1772, allocations: 0.6997 MB / 453.9 MB, free: 44.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006371/0.1836, allocations: 5.152 MB / 459 MB, free: 43.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1836, allocations: 0 / 459 MB, free: 43.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1836, allocations: 4.031 kB / 459.1 MB, free: 43.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.825e-05/0.1836, allocations: 0 / 459.1 MB, free: 43.77 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 368 * Number of variables: 368 Notification: Performance of Generate backend data structure: time 0.002581/0.1862, allocations: 2.349 MB / 461.4 MB, free: 42.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.1862, allocations: 9.781 kB / 461.4 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001723/0.1864, allocations: 217.2 kB / 461.6 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008864/0.1873, allocations: 398.6 kB / 462 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008377/0.1881, allocations: 0.847 MB / 462.9 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.1882, allocations: 217.9 kB / 463.1 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.1884, allocations: 149.9 kB / 463.2 MB, free: 41.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/0.1901, allocations: 2.064 MB / 465.3 MB, free: 40.69 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.1902, allocations: 7.281 kB / 465.3 MB, free: 40.69 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.1903, allocations: 60.44 kB / 465.3 MB, free: 40.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.1903, allocations: 35.97 kB / 465.4 MB, free: 40.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/0.1925, allocations: 2.708 MB / 468.1 MB, free: 39.82 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00537/0.1978, allocations: 5.575 MB / 473.7 MB, free: 37.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002771/0.2006, allocations: 2.797 MB / 476.5 MB, free: 36.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007676/0.2014, allocations: 0.8046 MB / 477.3 MB, free: 35.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004617/0.206, allocations: 3.993 MB / 481.3 MB, free: 34.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.206, allocations: 45.12 kB / 481.3 MB, free: 34.18 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004215/0.2064, allocations: 204.6 kB / 481.5 MB, free: 34.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=117): time 2.685e-06/0.2064, allocations: 0 / 481.5 MB, free: 34.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=140): time 0.009582/0.216, allocations: 5.181 MB / 486.7 MB, free: 32.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.216, allocations: 73.42 kB / 486.8 MB, free: 32.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007698/0.2168, allocations: 1.071 MB / 487.8 MB, free: 31.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.665e-05/0.2169, allocations: 46.7 kB / 487.9 MB, free: 31.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002321/0.2171, allocations: 0.7005 MB / 488.6 MB, free: 30.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002066/0.2173, allocations: 0.498 MB / 489.1 MB, free: 30.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000318/0.2176, allocations: 328.3 kB / 489.4 MB, free: 30.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.129e-05/0.2176, allocations: 303.5 kB / 489.7 MB, free: 30.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007037/0.2183, allocations: 0.6576 MB / 490.3 MB, free: 29.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008465/0.2192, allocations: 1.118 MB / 491.5 MB, free: 29.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/0.2208, allocations: 1.81 MB / 493.3 MB, free: 27.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.2208, allocations: 7.688 kB / 493.3 MB, free: 27.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003532/0.2243, allocations: 2.412 MB / 495.7 MB, free: 27.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.2243, allocations: 15.12 kB / 495.7 MB, free: 27.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.2244, allocations: 13.75 kB / 495.7 MB, free: 27.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/0.2257, allocations: 495.3 kB / 496.2 MB, free: 26.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007282/0.2264, allocations: 418.4 kB / 496.6 MB, free: 26.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002566/0.2289, allocations: 3.629 MB / 0.4885 GB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006056/0.2296, allocations: 56.09 kB / 0.4886 GB, free: 23.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.932e-05/0.2297, allocations: 96.41 kB / 0.4887 GB, free: 23.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (212): * Single equations (assignments): 209 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003926/0.23, allocations: 336.8 kB / 0.489 GB, free: 23.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.2302, allocations: 128.1 kB / 0.4891 GB, free: 23.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003161/0.2333, allocations: 2.131 MB / 0.4912 GB, free: 22.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.2333, allocations: 14.02 kB / 0.4912 GB, free: 22.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.2333, allocations: 3.031 kB / 0.4912 GB, free: 22.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.2334, allocations: 6 kB / 0.4912 GB, free: 22.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004339/0.2377, allocations: 3.314 MB / 0.4944 GB, free: 21.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2377, allocations: 0 / 0.4944 GB, free: 21.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00056/0.2383, allocations: 276.5 kB / 0.4947 GB, free: 21.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001222/0.2395, allocations: 468.1 kB / 0.4952 GB, free: 21.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.102e-05/0.2396, allocations: 52.58 kB / 0.4952 GB, free: 21.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002219/0.2418, allocations: 3.532 MB / 0.4987 GB, free: 17.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2418, allocations: 0 / 0.4987 GB, free: 17.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003486/0.2453, allocations: 2.751 MB / 0.5013 GB, free: 16.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.2454, allocations: 108.9 kB / 0.5014 GB, free: 16.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.64e-05/0.2455, allocations: 24 kB / 0.5015 GB, free: 16.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003421/0.2458, allocations: 34.44 kB / 0.5015 GB, free: 16.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.246, allocations: 130.8 kB / 0.5016 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.109e-05/0.2461, allocations: 62.97 kB / 0.5017 GB, free: 15.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004694/0.2466, allocations: 0.713 MB / 0.5024 GB, free: 15.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2466, allocations: 0 / 0.5024 GB, free: 15.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001787/0.2483, allocations: 0.9564 MB / 0.5033 GB, free: 14.37 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (solution.temperature,HCO3.logn,H.logn,CO2_liquid.logn,liquidWater.logn,OH.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 (144): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004796/0.2531, allocations: 4.351 MB / 0.5076 GB, free: 10.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001997/0.2551, allocations: 1.846 MB / 0.5094 GB, free: 8.965 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2551, allocations: 0 / 0.5094 GB, free: 8.965 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008912/0.256, allocations: 0.9805 MB / 0.5103 GB, free: 8.094 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007445/0.2568, allocations: 260.3 kB / 0.5106 GB, free: 7.883 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/0.2693, allocations: 12.28 MB / 0.5226 GB, free: 12.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.2697, allocations: 0.5982 MB / 0.5232 GB, free: 11.58 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007464/0.2704, allocations: 324.5 kB / 0.5235 GB, free: 11.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006039/0.271, allocations: 0.6681 MB / 0.5241 GB, free: 10.6 MB / 426.7 MB Notification: Performance of SimCode: time 7.62e-07/0.271, allocations: 7.938 kB / 0.5241 GB, free: 10.59 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0557/0.3267, allocations: 48.31 MB / 0.5713 GB, free: 10.73 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.523/8.85, allocations: 15.08 kB / 0.5713 GB, free: 10.72 MB / 474.7 MB " [Timeout remaining time 651] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInWater_fmu --startTime=0 --stopTime=0.02 --stepSize=8e-06 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInWater.fmu > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.537832618691027] Failed to read output from testmodel.py, exit status != 0: 8.958492319099605 8.966812745 8.781613275 Calling exit ...