Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater.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.001526/0.001526, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001553/0.001553, allocations: 193.2 kB / 20.08 MB, free: 2.988 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.388/1.388, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.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.08227/0.08227, allocations: 15.54 MB / 318.9 MB, free: 13.58 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: translateModel(Chemical.Examples.AcidBase.CarbonDioxideInWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater") translateModel(Chemical.Examples.AcidBase.CarbonDioxideInWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 67.56 kB / 446.1 MB, free: 47.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08508/0.08699, allocations: 56.55 MB / 0.4909 GB, free: 20.49 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.AcidBase.CarbonDioxideInWater): time 0.006868/0.09386, allocations: 7.589 MB / 0.4983 GB, free: 14.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02235/0.1162, allocations: 23.39 MB / 0.5211 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001322/0.1175, allocations: 23.88 kB / 0.5211 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001539/0.1191, allocations: 484.5 kB / 0.5216 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005907/0.125, allocations: 1.956 MB / 0.5235 GB, free: 5.953 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008198/0.1332, allocations: 2.94 MB / 0.5264 GB, free: 2.992 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003515/0.1367, allocations: 2.134 MB / 0.5285 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001577/0.1383, allocations: 1.052 MB / 0.5295 GB, free: 15.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001513/0.1398, allocations: 1.079 MB / 0.5306 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001943/0.1417, allocations: 1.238 MB / 0.5318 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003381/0.1421, allocations: 192 kB / 0.5319 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008058/0.1501, allocations: 2.543 MB / 0.5344 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000702/0.1508, allocations: 486.5 kB / 0.5349 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001271/0.1521, allocations: 0.949 MB / 0.5358 GB, free: 9.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01075/0.1628, allocations: 4.712 MB / 0.5404 GB, free: 4.539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1628, allocations: 0 / 0.5404 GB, free: 4.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1628, allocations: 4 kB / 0.5404 GB, free: 4.535 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.46e-05/0.1629, allocations: 0 / 0.5404 GB, free: 4.535 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: 368 * Number of variables: 368 Notification: Performance of Generate backend data structure: time 0.004883/0.1678, allocations: 2.444 MB / 0.5428 GB, free: 2.027 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1678, allocations: 8.031 kB / 0.5428 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001733/0.1695, allocations: 407.2 kB / 0.5432 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.171, allocations: 0.8978 MB / 0.5441 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001637/0.1711, allocations: 170.8 kB / 0.5442 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002765/0.1714, allocations: 152.3 kB / 0.5444 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003467/0.1749, allocations: 2.052 MB / 0.5464 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.1749, allocations: 0 / 0.5464 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001725/0.1751, allocations: 63.94 kB / 0.5465 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.539e-05/0.1751, allocations: 36 kB / 0.5465 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004358/0.1795, allocations: 2.717 MB / 0.5491 GB, free: 11.45 MB / 414.1 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.01145/0.1909, allocations: 6.549 MB / 0.5555 GB, free: 4.676 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005639/0.1966, allocations: 3.218 MB / 0.5587 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001406/0.198, allocations: 0.8012 MB / 0.5595 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01062/0.2086, allocations: 7.256 MB / 0.5666 GB, free: 8.516 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/0.2086, allocations: 51.55 kB / 0.5666 GB, free: 8.457 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000938/0.2096, allocations: 202.9 kB / 0.5668 GB, free: 8.258 MB / 430.1 MB Notification: Performance of pre-optimization done (n=117): time 6.793e-06/0.2096, allocations: 3.984 kB / 0.5668 GB, free: 8.254 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.02038/0.2299, allocations: 5.415 MB / 0.5721 GB, free: 2.742 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/0.23, allocations: 64.72 kB / 0.5721 GB, free: 2.664 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.2314, allocations: 1.034 MB / 0.5732 GB, free: 1.605 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001296/0.2315, allocations: 45.7 kB / 0.5732 GB, free: 1.555 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000523/0.232, allocations: 0.6955 MB / 0.5739 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004603/0.2325, allocations: 0.5035 MB / 0.5744 GB, free: 348 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005492/0.233, allocations: 343.4 kB / 0.5747 GB, free: 15.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.2332, allocations: 301.1 kB / 0.575 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.2343, allocations: 0.6481 MB / 0.5756 GB, free: 15.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001575/0.2359, allocations: 1.107 MB / 0.5767 GB, free: 13.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002857/0.2388, allocations: 1.816 MB / 0.5785 GB, free: 11.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/0.2388, allocations: 7.938 kB / 0.5785 GB, free: 11.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006766/0.2456, allocations: 2.404 MB / 0.5808 GB, free: 9.309 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.24e-05/0.2456, allocations: 15.94 kB / 0.5808 GB, free: 9.293 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.218e-05/0.2456, allocations: 12 kB / 0.5809 GB, free: 9.281 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002859/0.2485, allocations: 490.1 kB / 0.5813 GB, free: 8.793 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/0.2501, allocations: 419.3 kB / 0.5817 GB, free: 8.383 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005887/0.256, allocations: 3.868 MB / 0.5855 GB, free: 4.246 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.2573, allocations: 59.94 kB / 0.5856 GB, free: 4.188 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001833/0.2574, allocations: 91.95 kB / 0.5856 GB, free: 4.098 MB / 446.1 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.0006745/0.2581, allocations: 334.8 kB / 0.586 GB, free: 3.762 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002931/0.2584, allocations: 127.2 kB / 0.5861 GB, free: 3.637 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006568/0.265, allocations: 2.126 MB / 0.5882 GB, free: 1.492 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-05/0.265, allocations: 19.94 kB / 0.5882 GB, free: 1.473 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.265, allocations: 0 / 0.5882 GB, free: 1.473 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.99e-05/0.265, allocations: 7.969 kB / 0.5882 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008478/0.2735, allocations: 3.539 MB / 0.5916 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.2735, allocations: 0 / 0.5916 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/0.2748, allocations: 271.6 kB / 0.5919 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002728/0.2775, allocations: 470 kB / 0.5924 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001914/0.2777, allocations: 47.97 kB / 0.5924 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005468/0.2831, allocations: 3.78 MB / 0.5961 GB, free: 9.02 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2831, allocations: 0 / 0.5961 GB, free: 9.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007395/0.2905, allocations: 2.746 MB / 0.5988 GB, free: 6.242 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003472/0.2909, allocations: 192.3 kB / 0.599 GB, free: 6.035 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/0.2911, allocations: 31.94 kB / 0.599 GB, free: 6.004 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007469/0.2918, allocations: 31.98 kB / 0.599 GB, free: 5.973 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002933/0.2921, allocations: 117.1 kB / 0.5991 GB, free: 5.859 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/0.2923, allocations: 63.95 kB / 0.5992 GB, free: 5.797 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009152/0.2932, allocations: 0.6991 MB / 0.5999 GB, free: 5.086 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2932, allocations: 0 / 0.5999 GB, free: 5.086 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002671/0.2958, allocations: 0.9622 MB / 0.6008 GB, free: 4.121 MB / 462.1 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.002114/0.298, allocations: 1.113 MB / 0.6019 GB, free: 2.996 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003924/0.3019, allocations: 1.911 MB / 0.6038 GB, free: 1.039 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3019, allocations: 0 / 0.6038 GB, free: 1.039 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.188/0.4899, allocations: 1.059 MB / 0.6048 GB, free: 102 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/0.4915, allocations: 254.4 kB / 0.605 GB, free: 102 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004883/0.4964, allocations: 2.713 MB / 0.6077 GB, free: 101 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007614/0.4972, allocations: 1.185 MB / 0.6088 GB, free: 100.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007993/0.498, allocations: 267.2 kB / 0.6091 GB, free: 100.3 MB / 462.1 MB Notification: Performance of SimCode: time 1.323e-06/0.498, allocations: 0.625 kB / 0.6091 GB, free: 100.3 MB / 462.1 MB Notification: Performance of Templates: time 0.04045/0.5384, allocations: 43 MB / 0.6511 GB, free: 69.57 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater.pipe ; mkfifo Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater.pipe ; head -c 1048576 < Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater.pipe >> ../files/Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater.sim & ./Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.043532626936212] Failed to read output from testmodel.py, exit status != 0: 0.7027313660364598 0.5533017809999999 0.38836116099999995 Calling exit ...