Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001244/0.001244, 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.001641/0.001641, allocations: 169.9 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.9409/0.9409, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.09717/0.09717, allocations: 17.38 MB / 276.6 MB, free: 11.84 MB / 266.7 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.CarbonDioxideInWater,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 411.5 MB, free: 420 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.601e-05/1.818e-05, allocations: 3.688 kB / 411.5 MB, free: 416 kB / 378.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.007764/0.007782, allocations: 6.722 MB / 418.2 MB, free: 9.652 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01617/0.02395, allocations: 20.57 MB / 438.7 MB, free: 5.004 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006632/0.02461, allocations: 27.75 kB / 438.8 MB, free: 4.977 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.02565, allocations: 448.5 kB / 439.2 MB, free: 4.535 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00364/0.02929, allocations: 1.978 MB / 441.2 MB, free: 2.543 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1917/0.2209, allocations: 3.059 MB / 444.3 MB, free: 45.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002618/0.2236, allocations: 2.203 MB / 446.5 MB, free: 45.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006694/0.2242, allocations: 1.027 MB / 447.5 MB, free: 45.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007761/0.225, allocations: 1.487 MB / 449 MB, free: 45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007906/0.2258, allocations: 1.012 MB / 450 MB, free: 44.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001663/0.226, allocations: 192.2 kB / 450.2 MB, free: 44.93 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004108/0.2301, allocations: 2.407 MB / 452.6 MB, free: 44.85 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.2303, allocations: 487.9 kB / 453.1 MB, free: 44.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003834/0.2307, allocations: 0.7034 MB / 453.8 MB, free: 44.72 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003508/0.2342, allocations: 5.146 MB / 458.9 MB, free: 43.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2342, allocations: 3.438 kB / 458.9 MB, free: 43.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2342, allocations: 0 / 458.9 MB, free: 43.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.607e-05/0.2342, allocations: 0.625 kB / 458.9 MB, free: 43.82 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.002292/0.2365, allocations: 2.351 MB / 461.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.2366, allocations: 9.844 kB / 461.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001622/0.2367, allocations: 217.6 kB / 461.5 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008803/0.2376, allocations: 399.7 kB / 461.9 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008193/0.2384, allocations: 0.8421 MB / 462.7 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.256e-05/0.2385, allocations: 221.2 kB / 462.9 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.2387, allocations: 152 kB / 463.1 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/0.2404, allocations: 2.061 MB / 465.1 MB, free: 40.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.2405, allocations: 3.844 kB / 465.1 MB, free: 40.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.2406, allocations: 60.31 kB / 465.2 MB, free: 40.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.2406, allocations: 36.91 kB / 465.2 MB, free: 40.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002329/0.2429, allocations: 2.707 MB / 467.9 MB, free: 39.87 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.005511/0.2484, allocations: 5.57 MB / 473.5 MB, free: 37.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002917/0.2513, allocations: 2.796 MB / 476.3 MB, free: 36.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007618/0.2521, allocations: 0.8105 MB / 477.1 MB, free: 35.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004596/0.2567, allocations: 3.987 MB / 481.1 MB, free: 34.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.2567, allocations: 52.59 kB / 481.2 MB, free: 34.25 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000406/0.2571, allocations: 202.5 kB / 481.4 MB, free: 34.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=117): time 2.235e-06/0.2571, allocations: 1.312 kB / 481.4 MB, free: 34.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=140): time 0.01012/0.2672, allocations: 5.172 MB / 486.5 MB, free: 32.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.2673, allocations: 73.92 kB / 486.6 MB, free: 32.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000808/0.2681, allocations: 1.071 MB / 487.7 MB, free: 31.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.182e-05/0.2681, allocations: 50.83 kB / 487.7 MB, free: 31.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.2684, allocations: 0.7001 MB / 488.4 MB, free: 31.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002247/0.2686, allocations: 498.6 kB / 488.9 MB, free: 30.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000367/0.269, allocations: 332.8 kB / 489.2 MB, free: 30.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.895e-05/0.269, allocations: 307.1 kB / 489.5 MB, free: 30.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007899/0.2698, allocations: 0.6551 MB / 490.2 MB, free: 29.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009198/0.2707, allocations: 1.118 MB / 491.3 MB, free: 29.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001734/0.2725, allocations: 1.804 MB / 493.1 MB, free: 28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.2725, allocations: 4.25 kB / 493.1 MB, free: 28 MB / 410.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003692/0.2762, allocations: 2.423 MB / 495.5 MB, free: 27.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.2762, allocations: 11.28 kB / 495.5 MB, free: 27.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.2762, allocations: 14.91 kB / 495.6 MB, free: 27.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/0.2775, allocations: 492.6 kB / 496 MB, free: 27.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007478/0.2783, allocations: 419.9 kB / 496.5 MB, free: 27.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002656/0.2809, allocations: 3.641 MB / 0.4884 GB, free: 23.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005372/0.2815, allocations: 53.5 kB / 0.4884 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.2816, allocations: 96.06 kB / 0.4885 GB, free: 23.82 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.0003747/0.2819, allocations: 339.6 kB / 0.4888 GB, free: 23.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.2821, allocations: 129.6 kB / 0.489 GB, free: 23.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003269/0.2853, allocations: 2.122 MB / 0.491 GB, free: 22.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.208e-06/0.2854, allocations: 14.94 kB / 0.491 GB, free: 22.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.2854, allocations: 2.766 kB / 0.4911 GB, free: 22.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-05/0.2854, allocations: 7.172 kB / 0.4911 GB, free: 22.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004754/0.2901, allocations: 3.311 MB / 0.4943 GB, free: 21.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.2901, allocations: 1.344 kB / 0.4943 GB, free: 21.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005714/0.2907, allocations: 278 kB / 0.4946 GB, free: 21.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00123/0.2919, allocations: 469.8 kB / 0.495 GB, free: 21.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.215e-05/0.292, allocations: 44.53 kB / 0.495 GB, free: 21.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002319/0.2943, allocations: 3.534 MB / 0.4985 GB, free: 17.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2943, allocations: 3.938 kB / 0.4985 GB, free: 17.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006264/0.3006, allocations: 2.745 MB / 0.5012 GB, free: 16.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005853/0.3012, allocations: 119.3 kB / 0.5013 GB, free: 16.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002863/0.3015, allocations: 28 kB / 0.5013 GB, free: 16.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006135/0.3021, allocations: 35.19 kB / 0.5014 GB, free: 16.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002544/0.3023, allocations: 129.7 kB / 0.5015 GB, free: 16.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.528e-05/0.3024, allocations: 52.39 kB / 0.5015 GB, free: 16.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00061/0.303, allocations: 0.724 MB / 0.5022 GB, free: 15.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.303, allocations: 0 / 0.5022 GB, free: 15.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002319/0.3054, allocations: 0.959 MB / 0.5032 GB, free: 14.5 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.005976/0.3113, allocations: 4.35 MB / 0.5074 GB, free: 10.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00249/0.3138, allocations: 1.846 MB / 0.5092 GB, free: 9.102 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3138, allocations: 0 / 0.5092 GB, free: 9.102 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.315, allocations: 0.9849 MB / 0.5102 GB, free: 8.223 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.316, allocations: 252.5 kB / 0.5104 GB, free: 8.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01598/0.332, allocations: 12.28 MB / 0.5224 GB, free: 12.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004601/0.3324, allocations: 0.5982 MB / 0.523 GB, free: 11.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008891/0.3333, allocations: 331.3 kB / 0.5233 GB, free: 11.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000771/0.3341, allocations: 0.6603 MB / 0.524 GB, free: 10.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.643e-06/0.3341, allocations: 0 / 0.524 GB, free: 10.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06514/0.3992, allocations: 48.32 MB / 0.5711 GB, free: 10.92 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.144/9.543, allocations: 7.031 kB / 0.5712 GB, free: 10.92 MB / 474.7 MB " [Timeout remaining time 650] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInWater_fmu --startTime=0 --stopTime=0.02 --stepSize=8e-06 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInWater.fmu > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.463844348676503] Failed to read output from testmodel.py, exit status != 0: 9.656574153341353 9.664651462 9.428678931 Calling exit ...