Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.0013/0.0013, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.00156/0.00156, allocations: 219 kB / 23.03 MB, free: 4.949 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.1357/0.1357, allocations: 23.88 MB / 337.1 MB, free: 11.07 MB / 270.1 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.ClimateChange.HydrogenotrophicMethanogenesis,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis",fmuType="cs",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.00277/0.00277, allocations: 63.89 kB / 471.9 MB, free: 7.527 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3663, allocations: 59.86 MB / 0.5193 GB, free: 9.504 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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 2.0.0/Obsolete.mo:14337:7-14337: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.06977/0.436, allocations: 25.82 MB / 0.5445 GB, free: 13.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02019/0.4562, allocations: 14.69 MB / 0.5589 GB, free: 436 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001109/0.4573, allocations: 23.81 kB / 0.5589 GB, free: 412 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.4584, allocations: 304.4 kB / 0.5592 GB, free: 180 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004773/0.4631, allocations: 1.472 MB / 0.5606 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005859/0.469, allocations: 2.022 MB / 0.5626 GB, free: 13.26 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002513/0.4715, allocations: 1.547 MB / 0.5641 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.4726, allocations: 0.7025 MB / 0.5648 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.4737, allocations: 0.7813 MB / 0.5655 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.475, allocations: 0.8644 MB / 0.5664 GB, free: 9.688 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002476/0.4752, allocations: 136 kB / 0.5665 GB, free: 9.555 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004809/0.48, allocations: 1.743 MB / 0.5682 GB, free: 7.809 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004337/0.4805, allocations: 335 kB / 0.5685 GB, free: 7.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007724/0.4812, allocations: 0.5797 MB / 0.5691 GB, free: 6.898 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007036/0.4883, allocations: 3.436 MB / 0.5725 GB, free: 3.449 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.4883, allocations: 3.984 kB / 0.5725 GB, free: 3.445 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4883, allocations: 3.938 kB / 0.5725 GB, free: 3.441 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.394e-05/0.4883, allocations: 0 / 0.5725 GB, free: 3.441 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.003565/0.4919, allocations: 1.769 MB / 0.5742 GB, free: 1.633 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.4919, allocations: 8.031 kB / 0.5742 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.188e-05/0.4919, allocations: 30.36 kB / 0.5742 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002053/0.4921, allocations: 165.1 kB / 0.5744 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/0.4934, allocations: 279.5 kB / 0.5747 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.4946, allocations: 0.6127 MB / 0.5753 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.4947, allocations: 142.1 kB / 0.5754 GB, free: 368 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002254/0.4949, allocations: 116.1 kB / 0.5755 GB, free: 252 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/0.4973, allocations: 1.337 MB / 0.5768 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.4974, allocations: 0 / 0.5768 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.4975, allocations: 40 kB / 0.5768 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.764e-05/0.4975, allocations: 28 kB / 0.5769 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002922/0.5004, allocations: 1.695 MB / 0.5785 GB, free: 13.09 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.006991/0.5074, allocations: 3.527 MB / 0.582 GB, free: 9.465 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003647/0.5111, allocations: 1.875 MB / 0.5838 GB, free: 7.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008983/0.512, allocations: 0.5338 MB / 0.5843 GB, free: 7.051 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006332/0.5183, allocations: 2.787 MB / 0.587 GB, free: 4.238 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.5183, allocations: 43.16 kB / 0.5871 GB, free: 4.188 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 2.614e-06/0.5184, allocations: 0 / 0.5871 GB, free: 4.188 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.01686/0.5352, allocations: 3.433 MB / 0.5904 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.5353, allocations: 60.41 kB / 0.5905 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007578/0.536, allocations: 0.5862 MB / 0.5911 GB, free: 52 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.5361, allocations: 41.7 kB / 0.5911 GB, free: 4 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004186/0.5365, allocations: 0.5507 MB / 0.5916 GB, free: 15.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003395/0.5369, allocations: 352.9 kB / 0.592 GB, free: 15.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003679/0.5373, allocations: 234.8 kB / 0.5922 GB, free: 14.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.5375, allocations: 394.7 kB / 0.5926 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007039/0.5382, allocations: 358.5 kB / 0.5929 GB, free: 14.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.5392, allocations: 0.7555 MB / 0.5937 GB, free: 13.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001803/0.541, allocations: 1.2 MB / 0.5948 GB, free: 11.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.541, allocations: 4 kB / 0.5948 GB, free: 11.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004536/0.5455, allocations: 1.467 MB / 0.5963 GB, free: 10.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.5455, allocations: 14.81 kB / 0.5963 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.5456, allocations: 16.16 kB / 0.5963 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002276/0.5478, allocations: 241.5 kB / 0.5965 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/0.5494, allocations: 335.5 kB / 0.5968 GB, free: 9.723 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005971/0.5554, allocations: 3.632 MB / 0.6004 GB, free: 5.867 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009111/0.5563, allocations: 43.98 kB / 0.6004 GB, free: 5.824 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/0.5564, allocations: 76.03 kB / 0.6005 GB, free: 5.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.0004884/0.5569, allocations: 273.9 kB / 0.6008 GB, free: 5.473 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002183/0.5572, allocations: 99.33 kB / 0.6009 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004523/0.5617, allocations: 1.328 MB / 0.6022 GB, free: 4.031 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.401e-05/0.5617, allocations: 8 kB / 0.6022 GB, free: 4.023 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.5617, allocations: 8 kB / 0.6022 GB, free: 4.016 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/0.5617, allocations: 3.984 kB / 0.6022 GB, free: 4.012 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/0.5633, allocations: 0.9128 MB / 0.6031 GB, free: 3.031 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.5633, allocations: 4 kB / 0.6031 GB, free: 3.027 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/0.5646, allocations: 215.7 kB / 0.6033 GB, free: 2.816 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002202/0.5668, allocations: 233.6 kB / 0.6035 GB, free: 2.582 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/0.5669, allocations: 39.92 kB / 0.6035 GB, free: 2.543 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005552/0.5725, allocations: 3.518 MB / 0.607 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.5725, allocations: 0 / 0.607 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004951/0.5774, allocations: 1.74 MB / 0.6087 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002302/0.5777, allocations: 75.39 kB / 0.6088 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.5778, allocations: 32.05 kB / 0.6088 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000558/0.5784, allocations: 20.12 kB / 0.6088 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002179/0.5786, allocations: 92.97 kB / 0.6089 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-05/0.5787, allocations: 39.98 kB / 0.6089 GB, free: 12.77 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005012/0.5792, allocations: 383.1 kB / 0.6093 GB, free: 12.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5792, allocations: 3.938 kB / 0.6093 GB, free: 12.39 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002006/0.5812, allocations: 0.6818 MB / 0.61 GB, free: 11.71 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.006995/0.5882, allocations: 3.005 MB / 0.6129 GB, free: 8.664 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00236/0.5906, allocations: 1.183 MB / 0.6141 GB, free: 7.453 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5906, allocations: 0 / 0.6141 GB, free: 7.453 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001214/0.5918, allocations: 0.7032 MB / 0.6147 GB, free: 6.727 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.5929, allocations: 205.6 kB / 0.6149 GB, free: 6.523 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01696/0.6098, allocations: 8.445 MB / 0.6232 GB, free: 13.57 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004903/0.6103, allocations: 467.4 kB / 0.6236 GB, free: 13.09 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000855/0.6112, allocations: 230.7 kB / 0.6238 GB, free: 12.86 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007283/0.6119, allocations: 469 kB / 0.6243 GB, free: 12.41 MB / 478.1 MB Notification: Performance of SimCode: time 9.11e-07/0.6119, allocations: 0 / 0.6243 GB, free: 12.41 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07351/0.6854, allocations: 34.15 MB / 0.6576 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.92/16.61, allocations: 10.95 kB / 0.6577 GB, free: 10.54 MB / 0.4981 GB " [Timeout remaining time 643] (rm -f Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 Chemical_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis.fmu > Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.39652038901113] Failed to read output from testmodel.py, exit status != 0: 16.80355929210782 16.831496232 16.337346202 Calling exit ...