Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.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.001671/0.001671, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 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.002152/0.002152, allocations: 157.6 kB / 22.75 MB, free: 1.684 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 1.513/1.513, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 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.1416/0.1416, allocations: 17.36 MB / 276.9 MB, free: 11.66 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: translateModel(Chemical.Obsolete.Examples.HydrogenCombustion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.HydrogenCombustion") translateModel(Chemical.Obsolete.Examples.HydrogenCombustion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.HydrogenCombustion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 352.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.548e-05/3.712e-05, allocations: 6.25 kB / 352.7 MB, free: 10.33 MB / 282.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.HydrogenCombustion): time 0.04618/0.04621, allocations: 29.11 MB / 381.8 MB, free: 13.36 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3288/0.375, allocations: 134.4 MB / 0.5041 GB, free: 4.359 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001326/0.3764, allocations: 31.75 kB / 0.5041 GB, free: 4.328 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001573/0.3779, allocations: 0.4897 MB / 0.5046 GB, free: 3.844 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005495/0.3834, allocations: 1.706 MB / 0.5063 GB, free: 2.125 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008915/0.3923, allocations: 3.08 MB / 0.5093 GB, free: 15.03 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004602/0.3969, allocations: 2.69 MB / 0.5119 GB, free: 12.32 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002062/0.399, allocations: 1.257 MB / 0.5131 GB, free: 11.02 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002525/0.4015, allocations: 1.759 MB / 0.5149 GB, free: 9.258 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001912/0.4034, allocations: 1.13 MB / 0.516 GB, free: 8.125 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004128/0.4039, allocations: 232 kB / 0.5162 GB, free: 7.898 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005931/0.4098, allocations: 2.238 MB / 0.5184 GB, free: 5.656 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008495/0.4106, allocations: 0.5802 MB / 0.5189 GB, free: 5.074 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001163/0.4118, allocations: 0.8457 MB / 0.5198 GB, free: 4.227 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01008/0.4219, allocations: 5.358 MB / 0.525 GB, free: 14.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.4219, allocations: 0 / 0.525 GB, free: 14.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.4219, allocations: 0 / 0.525 GB, free: 14.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.533e-05/0.4219, allocations: 0 / 0.525 GB, free: 14.85 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 492 * Number of variables: 492 Notification: Performance of Generate backend data structure: time 0.006152/0.4281, allocations: 2.807 MB / 0.5277 GB, free: 12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.4281, allocations: 8.031 kB / 0.5277 GB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005006/0.4331, allocations: 1.234 MB / 0.529 GB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001991/0.4351, allocations: 0.9283 MB / 0.5299 GB, free: 9.797 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002785/0.4354, allocations: 255.2 kB / 0.5301 GB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003791/0.4358, allocations: 204.3 kB / 0.5303 GB, free: 9.324 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004348/0.4401, allocations: 2.156 MB / 0.5324 GB, free: 7.125 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.582e-05/0.4402, allocations: 4.188 kB / 0.5324 GB, free: 7.121 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002159/0.4404, allocations: 76.38 kB / 0.5325 GB, free: 7.047 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.396e-05/0.4405, allocations: 51.94 kB / 0.5325 GB, free: 6.996 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004726/0.4452, allocations: 2.288 MB / 0.5348 GB, free: 4.707 MB / 410.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.01236/0.4575, allocations: 5.884 MB / 0.5405 GB, free: 14.69 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004655/0.4622, allocations: 1.575 MB / 0.542 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001451/0.4636, allocations: 0.7279 MB / 0.5428 GB, free: 12.37 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008648/0.4723, allocations: 4.012 MB / 0.5467 GB, free: 8.332 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.646e-05/0.4723, allocations: 47.88 kB / 0.5467 GB, free: 8.277 MB / 426.7 MB Notification: Performance of pre-optimization done (n=132): time 2.755e-06/0.4723, allocations: 0 / 0.5467 GB, free: 8.277 MB / 426.7 MB Notification: Performance of matching and sorting (n=174): time 0.01991/0.4922, allocations: 6.502 MB / 0.5531 GB, free: 1.676 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.4924, allocations: 107 kB / 0.5532 GB, free: 1.551 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001821/0.4942, allocations: 0.9351 MB / 0.5541 GB, free: 0.5977 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000133/0.4943, allocations: 57.7 kB / 0.5541 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008767/0.4952, allocations: 0.9105 MB / 0.555 GB, free: 15.61 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007307/0.4959, allocations: 0.6196 MB / 0.5556 GB, free: 14.98 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007356/0.4966, allocations: 399.5 kB / 0.556 GB, free: 14.59 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.4968, allocations: 305.1 kB / 0.5563 GB, free: 14.29 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001429/0.4983, allocations: 0.6131 MB / 0.5569 GB, free: 13.67 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002021/0.5003, allocations: 1.189 MB / 0.5581 GB, free: 12.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003628/0.5039, allocations: 1.988 MB / 0.56 GB, free: 9.992 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.749e-05/0.5039, allocations: 4 kB / 0.56 GB, free: 9.988 MB / 442.7 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.00663/0.5105, allocations: 2.641 MB / 0.5626 GB, free: 7.324 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/0.5106, allocations: 20.05 kB / 0.5626 GB, free: 7.305 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.174e-05/0.5106, allocations: 16 kB / 0.5626 GB, free: 7.289 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002944/0.5136, allocations: 0.6515 MB / 0.5633 GB, free: 6.621 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002411/0.516, allocations: 487.3 kB / 0.5637 GB, free: 6.145 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1838/0.6997, allocations: 8.819 MB / 0.5723 GB, free: 161.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002344/0.7021, allocations: 71.23 kB / 0.5724 GB, free: 161.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005977/0.7027, allocations: 155 kB / 0.5726 GB, free: 161.9 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * 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 (208): * Single equations (assignments): 202 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,9,100.0%), (1,11,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,6), (1,10), (1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001362/0.704, allocations: 424.6 kB / 0.573 GB, free: 161.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007024/0.7047, allocations: 204.5 kB / 0.5732 GB, free: 161.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006991/0.7117, allocations: 2.565 MB / 0.5757 GB, free: 161.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.04e-05/0.7117, allocations: 22.91 kB / 0.5757 GB, free: 161.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.258e-05/0.7118, allocations: 5.625 kB / 0.5757 GB, free: 161.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.198e-05/0.7118, allocations: 15.89 kB / 0.5757 GB, free: 161.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00746/0.7193, allocations: 3.658 MB / 0.5793 GB, free: 159.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.7193, allocations: 2.281 kB / 0.5793 GB, free: 159.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00205/0.7213, allocations: 375.2 kB / 0.5796 GB, free: 159.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002404/0.7237, allocations: 0.5412 MB / 0.5802 GB, free: 159.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001843/0.7239, allocations: 75.27 kB / 0.5802 GB, free: 159.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005499/0.7294, allocations: 6.286 MB / 0.5864 GB, free: 154.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.7294, allocations: 3.875 kB / 0.5864 GB, free: 154.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005753/0.7352, allocations: 3.179 MB / 0.5895 GB, free: 152.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002859/0.7354, allocations: 131.5 kB / 0.5896 GB, free: 152.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002416/0.7357, allocations: 33.75 kB / 0.5896 GB, free: 152.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009106/0.7366, allocations: 40.05 kB / 0.5897 GB, free: 152.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000344/0.7369, allocations: 178.8 kB / 0.5898 GB, free: 152.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001872/0.7371, allocations: 116.5 kB / 0.59 GB, free: 152.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007619/0.7379, allocations: 0.5925 MB / 0.5905 GB, free: 152.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.7379, allocations: 0 / 0.5905 GB, free: 152.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002497/0.7404, allocations: 0.8335 MB / 0.5914 GB, free: 152.4 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (H2_gas.logn,O2_gas.logn,H2O_gas.molarVolume,H2O_gas.logn,H2_gas1.logn,O2_gas1.logn,H2O_gas1.molarVolume,H2O_gas1.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 (153): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,9,100.0%), (1,6,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,10), (1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001892/0.7423, allocations: 0.823 MB / 0.5922 GB, free: 152.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003613/0.7459, allocations: 2.321 MB / 0.5944 GB, free: 151.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.7459, allocations: 0 / 0.5944 GB, free: 151.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001981/0.7479, allocations: 1.31 MB / 0.5957 GB, free: 150.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/0.7494, allocations: 344 kB / 0.596 GB, free: 150.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00572/0.7551, allocations: 3.485 MB / 0.5994 GB, free: 146.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008404/0.7559, allocations: 0.8335 MB / 0.6002 GB, free: 146.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001492/0.7574, allocations: 421.3 kB / 0.6006 GB, free: 146.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006984/0.7581, allocations: 263.9 kB / 0.6009 GB, free: 145.9 MB / 442.7 MB Notification: Performance of SimCode: time 1.062e-06/0.7581, allocations: 0 / 0.6009 GB, free: 145.9 MB / 442.7 MB Notification: Performance of Templates: time 0.0441/0.8022, allocations: 34.58 MB / 0.6347 GB, free: 112.8 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.sim & ./Chemical_Chemical.Obsolete.Examples.HydrogenCombustion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.868222031975165]