Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis.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.001241/0.001241, allocations: 118.7 kB / 17.13 MB, free: 5.758 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.001232/0.001232, allocations: 193.2 kB / 20.08 MB, free: 2.848 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.378/1.378, allocations: 225.6 MB / 248.5 MB, free: 3.629 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.08331/0.08331, allocations: 15.54 MB / 318.9 MB, free: 13.64 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.ClimateChange.HydrogenotrophicMethanogenesis,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis") translateModel(Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 63.64 kB / 446.1 MB, free: 47.86 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08486/0.08674, allocations: 56.55 MB / 0.4909 GB, free: 20.56 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740:66: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:4740:7-4740:66: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.ClimateChange.HydrogenotrophicMethanogenesis): time 0.03087/0.1176, allocations: 26.42 MB / 0.5167 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02133/0.1389, allocations: 16.71 MB / 0.533 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009591/0.1399, allocations: 15.88 kB / 0.533 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.141, allocations: 341.5 kB / 0.5333 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004408/0.1454, allocations: 1.486 MB / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005459/0.1509, allocations: 2.008 MB / 0.5367 GB, free: 8.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002499/0.1534, allocations: 1.537 MB / 0.5382 GB, free: 7.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001181/0.1546, allocations: 0.7145 MB / 0.5389 GB, free: 6.289 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001211/0.1558, allocations: 0.7677 MB / 0.5397 GB, free: 5.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001608/0.1574, allocations: 0.8644 MB / 0.5405 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004104/0.1578, allocations: 132 kB / 0.5407 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005613/0.1634, allocations: 1.806 MB / 0.5424 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005124/0.1639, allocations: 331 kB / 0.5427 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001053/0.165, allocations: 0.6806 MB / 0.5434 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007909/0.1729, allocations: 3.354 MB / 0.5467 GB, free: 14.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1729, allocations: 0 / 0.5467 GB, free: 14.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1729, allocations: 0 / 0.5467 GB, free: 14.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.742e-05/0.1729, allocations: 0 / 0.5467 GB, free: 14.34 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.004204/0.1772, allocations: 1.852 MB / 0.5485 GB, free: 12.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.1772, allocations: 12.03 kB / 0.5485 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.1785, allocations: 279.5 kB / 0.5488 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.1797, allocations: 0.6652 MB / 0.5494 GB, free: 11.44 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/0.1799, allocations: 116.4 kB / 0.5495 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000235/0.1801, allocations: 116.3 kB / 0.5496 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0025/0.1826, allocations: 1.337 MB / 0.5509 GB, free: 9.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.1826, allocations: 0 / 0.5509 GB, free: 9.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.1828, allocations: 44 kB / 0.551 GB, free: 9.777 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.599e-05/0.1828, allocations: 28 kB / 0.551 GB, free: 9.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003004/0.1858, allocations: 1.695 MB / 0.5527 GB, free: 8.047 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.007533/0.1933, allocations: 4.295 MB / 0.5569 GB, free: 3.543 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00378/0.1971, allocations: 2.229 MB / 0.559 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009012/0.198, allocations: 0.5264 MB / 0.5595 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00767/0.2057, allocations: 5.389 MB / 0.5648 GB, free: 10.69 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.2057, allocations: 39.22 kB / 0.5648 GB, free: 10.64 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 2.896e-06/0.2057, allocations: 0 / 0.5648 GB, free: 10.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.01506/0.2208, allocations: 3.578 MB / 0.5683 GB, free: 6.996 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.2208, allocations: 64.41 kB / 0.5684 GB, free: 6.918 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007672/0.2216, allocations: 0.59 MB / 0.569 GB, free: 6.316 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.36e-05/0.2217, allocations: 41.7 kB / 0.569 GB, free: 6.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003985/0.2221, allocations: 0.5467 MB / 0.5696 GB, free: 5.715 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003141/0.2224, allocations: 357 kB / 0.5699 GB, free: 5.363 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003414/0.2227, allocations: 230.8 kB / 0.5701 GB, free: 5.133 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002212/0.223, allocations: 398.7 kB / 0.5705 GB, free: 4.734 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006507/0.2236, allocations: 354.5 kB / 0.5708 GB, free: 4.387 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009831/0.2246, allocations: 0.7479 MB / 0.5716 GB, free: 3.461 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/0.2264, allocations: 1.208 MB / 0.5727 GB, free: 2.078 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.2264, allocations: 4 kB / 0.5727 GB, free: 2.074 MB / 430.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004099/0.2305, allocations: 1.471 MB / 0.5742 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.2305, allocations: 12 kB / 0.5742 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/0.2305, allocations: 15.98 kB / 0.5742 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001984/0.2325, allocations: 249.5 kB / 0.5744 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/0.234, allocations: 327.6 kB / 0.5748 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005781/0.2397, allocations: 3.863 MB / 0.5785 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008086/0.2405, allocations: 43.98 kB / 0.5786 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.2406, allocations: 63.98 kB / 0.5786 GB, free: 11.75 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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 (152): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004746/0.2411, allocations: 281.4 kB / 0.5789 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.2413, allocations: 87.44 kB / 0.579 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004093/0.2454, allocations: 1.336 MB / 0.5803 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.2454, allocations: 15.92 kB / 0.5803 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.2454, allocations: 0 / 0.5803 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.2454, allocations: 7.984 kB / 0.5803 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.2469, allocations: 1.069 MB / 0.5814 GB, free: 8.863 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.2469, allocations: 0 / 0.5814 GB, free: 8.863 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/0.2481, allocations: 215.7 kB / 0.5816 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0019/0.25, allocations: 233.6 kB / 0.5818 GB, free: 8.418 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.608e-05/0.2501, allocations: 27.98 kB / 0.5818 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005348/0.2555, allocations: 3.783 MB / 0.5855 GB, free: 4.328 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2555, allocations: 0 / 0.5855 GB, free: 4.328 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004499/0.26, allocations: 1.74 MB / 0.5872 GB, free: 2.551 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002532/0.2602, allocations: 152.6 kB / 0.5874 GB, free: 2.383 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.2603, allocations: 20 kB / 0.5874 GB, free: 2.363 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005078/0.2608, allocations: 27.92 kB / 0.5874 GB, free: 2.336 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/0.261, allocations: 76.89 kB / 0.5875 GB, free: 2.262 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-05/0.2611, allocations: 43.92 kB / 0.5875 GB, free: 2.219 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004785/0.2616, allocations: 395.1 kB / 0.5879 GB, free: 1.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2616, allocations: 0 / 0.5879 GB, free: 1.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001928/0.2635, allocations: 0.674 MB / 0.5885 GB, free: 1.164 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (solution.temperature,CH4.logn,CO2.logn,H2O.logn,H2.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 (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,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.001432/0.2649, allocations: 0.8207 MB / 0.5893 GB, free: 336 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002197/0.2671, allocations: 1.192 MB / 0.5905 GB, free: 15.11 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2671, allocations: 4 kB / 0.5905 GB, free: 15.11 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.2682, allocations: 0.6941 MB / 0.5912 GB, free: 14.39 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009856/0.2692, allocations: 210 kB / 0.5914 GB, free: 14.19 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003389/0.2726, allocations: 2.042 MB / 0.5934 GB, free: 12.09 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006745/0.2733, allocations: 1.038 MB / 0.5944 GB, free: 11.03 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000492/0.2738, allocations: 200.3 kB / 0.5946 GB, free: 10.84 MB / 462.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2738, allocations: 0 / 0.5946 GB, free: 10.84 MB / 462.1 MB Notification: Performance of Templates: time 0.2366/0.5104, allocations: 26.33 MB / 0.6203 GB, free: 92.94 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; mkfifo Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; head -c 1048576 < Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe >> ../files/Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis.sim & ./Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.32472537108697] Failed to read output from testmodel.py, exit status != 0: 0.6696512098424137 0.5256138859999999 0.350719332 Calling exit ...