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.0007915/0.0007915, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008536/0.0008536, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8763/0.8763, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.08658/0.08658, allocations: 17.38 MB / 276.6 MB, free: 11.85 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.ClimateChange.HydrogenotrophicMethanogenesis,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 411.4 MB, free: 13.24 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.523e-05/1.628e-05, allocations: 2.281 kB / 411.4 MB, free: 13.24 MB / 330.7 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.01857/0.01859, allocations: 26.47 MB / 437.9 MB, free: 14.2 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01298/0.03157, allocations: 14.71 MB / 452.6 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006991/0.03226, allocations: 19.81 kB / 452.6 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007173/0.03298, allocations: 309 kB / 452.9 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002955/0.03594, allocations: 1.526 MB / 454.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004109/0.04005, allocations: 2.084 MB / 456.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.04107, allocations: 1.595 MB / 458.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005216/0.04159, allocations: 0.7034 MB / 458.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006521/0.04224, allocations: 1.069 MB / 459.9 MB, free: 9.887 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005822/0.04283, allocations: 0.6976 MB / 460.6 MB, free: 9.188 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.04294, allocations: 136 kB / 460.7 MB, free: 9.055 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00244/0.04538, allocations: 1.712 MB / 462.5 MB, free: 7.34 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001875/0.04557, allocations: 334.9 kB / 462.8 MB, free: 7.012 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003056/0.04588, allocations: 0.495 MB / 463.3 MB, free: 6.516 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002624/0.0485, allocations: 3.655 MB / 466.9 MB, free: 2.848 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.04851, allocations: 0 / 466.9 MB, free: 2.848 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.04851, allocations: 0 / 466.9 MB, free: 2.848 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.04852, allocations: 8 kB / 466.9 MB, free: 2.84 MB / 362.7 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.001782/0.0503, allocations: 1.761 MB / 468.7 MB, free: 1.039 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.05033, allocations: 8.031 kB / 468.7 MB, free: 1.031 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001373/0.05047, allocations: 165.1 kB / 468.9 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007749/0.05125, allocations: 275.7 kB / 469.1 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006932/0.05194, allocations: 0.6158 MB / 469.8 MB, free: 15.94 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.768e-05/0.05203, allocations: 138.1 kB / 469.9 MB, free: 15.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.05216, allocations: 116.3 kB / 470 MB, free: 15.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.0535, allocations: 1.333 MB / 471.3 MB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.05352, allocations: 192 / 471.3 MB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.491e-05/0.05359, allocations: 43.94 kB / 471.4 MB, free: 14.26 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.05361, allocations: 28 kB / 471.4 MB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/0.05531, allocations: 1.679 MB / 473.1 MB, free: 12.54 MB / 378.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.003906/0.05921, allocations: 3.516 MB / 476.6 MB, free: 8.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002043/0.06126, allocations: 1.877 MB / 478.5 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005235/0.06178, allocations: 0.526 MB / 479 MB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003278/0.06506, allocations: 2.803 MB / 481.8 MB, free: 3.695 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.06508, allocations: 47.16 kB / 481.9 MB, free: 3.641 MB / 378.7 MB Notification: Performance of pre-optimization done (n=78): time 1.753e-06/0.06508, allocations: 0 / 481.9 MB, free: 3.641 MB / 378.7 MB Notification: Performance of matching and sorting (n=95): time 0.007157/0.07224, allocations: 3.433 MB / 485.3 MB, free: 176 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.07227, allocations: 64.41 kB / 485.3 MB, free: 96 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004314/0.07271, allocations: 0.6055 MB / 486 MB, free: 15.48 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/0.07275, allocations: 41.7 kB / 486 MB, free: 15.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/0.07297, allocations: 0.5468 MB / 486.5 MB, free: 14.88 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.07314, allocations: 349 kB / 486.9 MB, free: 14.53 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/0.07333, allocations: 230.8 kB / 487.1 MB, free: 14.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.07345, allocations: 394.7 kB / 487.5 MB, free: 13.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004054/0.07385, allocations: 354.5 kB / 487.8 MB, free: 13.56 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005527/0.07441, allocations: 0.7516 MB / 488.6 MB, free: 12.63 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.07545, allocations: 1.204 MB / 489.8 MB, free: 11.25 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.07546, allocations: 4 kB / 489.8 MB, free: 11.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002311/0.07777, allocations: 1.467 MB / 491.3 MB, free: 9.766 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.07779, allocations: 15.94 kB / 491.3 MB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.0778, allocations: 12 kB / 491.3 MB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000874/0.07867, allocations: 249.7 kB / 491.5 MB, free: 9.488 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007093/0.07938, allocations: 327.5 kB / 491.9 MB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003024/0.0824, allocations: 3.629 MB / 495.5 MB, free: 5.309 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000344/0.08275, allocations: 43.98 kB / 495.5 MB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.849e-05/0.08282, allocations: 71.92 kB / 495.6 MB, free: 5.195 MB / 394.7 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.0002582/0.08308, allocations: 273.4 kB / 495.9 MB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.422e-05/0.08317, allocations: 87.44 kB / 496 MB, free: 4.832 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002107/0.08528, allocations: 1.332 MB / 497.3 MB, free: 3.488 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.08528, allocations: 8 kB / 497.3 MB, free: 3.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.08528, allocations: 4 kB / 497.3 MB, free: 3.477 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.08529, allocations: 7.922 kB / 497.3 MB, free: 3.469 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.08634, allocations: 0.8976 MB / 498.2 MB, free: 2.512 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.08634, allocations: 0 / 498.2 MB, free: 2.512 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005898/0.08693, allocations: 223.8 kB / 498.4 MB, free: 2.293 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008368/0.08777, allocations: 233.6 kB / 498.6 MB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.624e-05/0.08781, allocations: 31.98 kB / 498.7 MB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002713/0.09053, allocations: 3.53 MB / 0.4904 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.09053, allocations: 4.031 kB / 0.4904 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002314/0.09284, allocations: 1.74 MB / 0.4921 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.925e-05/0.09291, allocations: 79.45 kB / 0.4922 GB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.756e-05/0.09298, allocations: 19.98 kB / 0.4922 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.09322, allocations: 24 kB / 0.4923 GB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.09333, allocations: 80.84 kB / 0.4923 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.516e-05/0.09338, allocations: 39.98 kB / 0.4924 GB, free: 12.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005242/0.0939, allocations: 391.1 kB / 0.4927 GB, free: 11.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0939, allocations: 0 / 0.4927 GB, free: 11.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001289/0.09519, allocations: 0.6779 MB / 0.4934 GB, free: 11.2 MB / 410.7 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.00349/0.09868, allocations: 3.049 MB / 0.4964 GB, free: 8.098 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001242/0.09992, allocations: 1.192 MB / 0.4976 GB, free: 6.879 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.09992, allocations: 4 kB / 0.4976 GB, free: 6.875 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006174/0.1005, allocations: 0.6902 MB / 0.4982 GB, free: 6.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005925/0.1011, allocations: 194.8 kB / 0.4984 GB, free: 5.977 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008978/0.1101, allocations: 8.374 MB / 0.5066 GB, free: 13.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.1104, allocations: 447.5 kB / 0.507 GB, free: 12.62 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004857/0.1109, allocations: 242.2 kB / 0.5073 GB, free: 12.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004273/0.1113, allocations: 479.5 kB / 0.5077 GB, free: 11.92 MB / 426.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1113, allocations: 0 / 0.5077 GB, free: 11.92 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04232/0.1536, allocations: 34.27 MB / 0.5412 GB, free: 9.91 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.86/9.013, allocations: 11.09 kB / 0.5412 GB, free: 9.902 MB / 458.7 MB " [Timeout remaining time 651] (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: 10.917572687380016] Failed to read output from testmodel.py, exit status != 0: 9.264595260843635 9.133059154 9.082018268 Calling exit ...