Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.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.001548/0.001548, allocations: 105.3 kB / 16.46 MB, free: 6.453 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.001661/0.001661, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.392/1.392, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.1287/0.1287, allocations: 23.89 MB / 332.7 MB, free: 12.33 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.ClimateChange.HydrogenotrophicMethanogenesis,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis",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.001907/0.001907, allocations: 63.89 kB / 466 MB, free: 10.04 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2978, allocations: 59.83 MB / 0.5136 GB, free: 8.836 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis): time 0.03484/0.3326, allocations: 26.65 MB / 0.5396 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02135/0.354, allocations: 16.76 MB / 0.5559 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009379/0.3549, allocations: 19.81 kB / 0.556 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009635/0.3559, allocations: 340.6 kB / 0.5563 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00389/0.3598, allocations: 1.488 MB / 0.5577 GB, free: 13 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005292/0.3651, allocations: 2.005 MB / 0.5597 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002028/0.3671, allocations: 1.547 MB / 0.5612 GB, free: 9.977 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008995/0.368, allocations: 0.7056 MB / 0.5619 GB, free: 9.418 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008436/0.3688, allocations: 0.7846 MB / 0.5627 GB, free: 8.715 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/0.37, allocations: 0.8642 MB / 0.5635 GB, free: 8.016 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001943/0.3701, allocations: 136 kB / 0.5636 GB, free: 7.883 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005019/0.3752, allocations: 1.806 MB / 0.5654 GB, free: 6.121 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003242/0.3755, allocations: 331 kB / 0.5657 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006622/0.3762, allocations: 0.6768 MB / 0.5664 GB, free: 5.117 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006269/0.3824, allocations: 3.447 MB / 0.5697 GB, free: 1.656 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.3824, allocations: 4 kB / 0.5697 GB, free: 1.652 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3824, allocations: 0 / 0.5697 GB, free: 1.652 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.3824, allocations: 4 kB / 0.5698 GB, free: 1.648 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.003334/0.3858, allocations: 1.852 MB / 0.5716 GB, free: 15.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.3858, allocations: 12.02 kB / 0.5716 GB, free: 15.72 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002122/0.386, allocations: 165.1 kB / 0.5717 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.3872, allocations: 271.8 kB / 0.572 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009899/0.3882, allocations: 0.673 MB / 0.5726 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.3883, allocations: 116.4 kB / 0.5728 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/0.3885, allocations: 112.3 kB / 0.5729 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002173/0.3907, allocations: 1.341 MB / 0.5742 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.3907, allocations: 0 / 0.5742 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.3908, allocations: 40 kB / 0.5742 GB, free: 12.92 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.278e-05/0.3908, allocations: 28 kB / 0.5742 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002737/0.3936, allocations: 1.699 MB / 0.5759 GB, free: 11.18 MB / 430.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.006649/0.4002, allocations: 4.303 MB / 0.5801 GB, free: 6.672 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003559/0.4038, allocations: 2.211 MB / 0.5823 GB, free: 4.383 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008578/0.4046, allocations: 0.5303 MB / 0.5828 GB, free: 3.848 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007111/0.4118, allocations: 5.397 MB / 0.588 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.4118, allocations: 39.22 kB / 0.5881 GB, free: 13.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.234e-06/0.4118, allocations: 0 / 0.5881 GB, free: 13.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=95): time 0.01466/0.4264, allocations: 3.584 MB / 0.5916 GB, free: 10.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.4265, allocations: 68.34 kB / 0.5917 GB, free: 10.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007102/0.4272, allocations: 0.5861 MB / 0.5922 GB, free: 9.449 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.92e-05/0.4273, allocations: 45.7 kB / 0.5923 GB, free: 9.398 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004209/0.4277, allocations: 0.5467 MB / 0.5928 GB, free: 8.844 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003011/0.428, allocations: 345.1 kB / 0.5931 GB, free: 8.504 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003448/0.4283, allocations: 234.8 kB / 0.5934 GB, free: 8.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002218/0.4286, allocations: 398.7 kB / 0.5937 GB, free: 7.871 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006667/0.4292, allocations: 358.5 kB / 0.5941 GB, free: 7.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.4302, allocations: 0.7558 MB / 0.5948 GB, free: 6.582 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001778/0.432, allocations: 1.204 MB / 0.596 GB, free: 5.203 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.432, allocations: 4 kB / 0.596 GB, free: 5.199 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003995/0.436, allocations: 1.467 MB / 0.5974 GB, free: 3.715 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.436, allocations: 12.03 kB / 0.5974 GB, free: 3.703 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.4361, allocations: 16 kB / 0.5975 GB, free: 3.688 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001901/0.438, allocations: 237.5 kB / 0.5977 GB, free: 3.449 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/0.4394, allocations: 331.5 kB / 0.598 GB, free: 3.125 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005699/0.4451, allocations: 3.869 MB / 0.6018 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007521/0.4458, allocations: 40 kB / 0.6018 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.4459, allocations: 63.98 kB / 0.6019 GB, free: 14.88 MB / 462.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.0004374/0.4464, allocations: 273.4 kB / 0.6021 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.4466, allocations: 95.45 kB / 0.6022 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004102/0.4507, allocations: 1.335 MB / 0.6035 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.4507, allocations: 12 kB / 0.6035 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.4507, allocations: 0 / 0.6035 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.4507, allocations: 3.984 kB / 0.6035 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.4521, allocations: 1.066 MB / 0.6046 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.4521, allocations: 4 kB / 0.6046 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/0.4533, allocations: 211.8 kB / 0.6048 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001877/0.4552, allocations: 233.5 kB / 0.605 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.773e-05/0.4553, allocations: 35.92 kB / 0.605 GB, free: 11.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00518/0.4604, allocations: 3.772 MB / 0.6087 GB, free: 7.473 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.4605, allocations: 3.984 kB / 0.6087 GB, free: 7.469 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004323/0.4648, allocations: 1.748 MB / 0.6104 GB, free: 5.688 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000205/0.465, allocations: 164.4 kB / 0.6106 GB, free: 5.508 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.4651, allocations: 19.94 kB / 0.6106 GB, free: 5.488 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005004/0.4656, allocations: 23.98 kB / 0.6106 GB, free: 5.465 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/0.4658, allocations: 88.77 kB / 0.6107 GB, free: 5.375 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.573e-05/0.4659, allocations: 39.98 kB / 0.6108 GB, free: 5.336 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004673/0.4663, allocations: 387.1 kB / 0.6111 GB, free: 4.965 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4663, allocations: 4 kB / 0.6111 GB, free: 4.961 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0019/0.4682, allocations: 0.6779 MB / 0.6118 GB, free: 4.281 MB / 462.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.005982/0.4742, allocations: 3.01 MB / 0.6147 GB, free: 1.223 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002108/0.4763, allocations: 1.184 MB / 0.6159 GB, free: 12 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4763, allocations: 4.25 kB / 0.6159 GB, free: 8 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.4774, allocations: 0.6942 MB / 0.6166 GB, free: 15.29 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009403/0.4784, allocations: 211.3 kB / 0.6168 GB, free: 15.08 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01493/0.4933, allocations: 8.445 MB / 0.625 GB, free: 6.137 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000753/0.4941, allocations: 1.041 MB / 0.626 GB, free: 5.066 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007714/0.4948, allocations: 222.3 kB / 0.6263 GB, free: 4.848 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000675/0.4955, allocations: 477.7 kB / 0.6267 GB, free: 4.387 MB / 478.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4955, allocations: 0 / 0.6267 GB, free: 4.387 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07044/0.5659, allocations: 32.69 MB / 0.6586 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/14.47, allocations: 0 / 0.6586 GB, free: 3.941 MB / 0.4981 GB " [Timeout remaining time 645] (rm -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 Chemical_master_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis.fmu > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.05078972899355] Failed to read output from testmodel.py, exit status != 0: 14.575367714976892 14.589586965 14.204123133 Calling exit ...