Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001753/0.001753, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.00162/0.00162, allocations: 218 kB / 23.03 MB, free: 4.922 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.142/0.142, allocations: 23.91 MB / 337.1 MB, free: 10.92 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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.HydrogenCombustion,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_HydrogenCombustion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.HydrogenCombustion,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_HydrogenCombustion",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.00252/0.00252, allocations: 67.89 kB / 471.9 MB, free: 7.449 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.3985, allocations: 59.87 MB / 0.5194 GB, free: 9.734 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.HydrogenCombustion): time 0.07679/0.4753, allocations: 28.24 MB / 0.5469 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1837/0.659, allocations: 134.3 MB / 0.6781 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/0.6607, allocations: 31.75 kB / 0.6781 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001943/0.6627, allocations: 492.1 kB / 0.6786 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005518/0.6682, allocations: 1.652 MB / 0.6802 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.009189/0.6774, allocations: 3.011 MB / 0.6831 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005261/0.6826, allocations: 2.609 MB / 0.6857 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002571/0.6852, allocations: 1.229 MB / 0.6869 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002215/0.6874, allocations: 1.27 MB / 0.6881 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002591/0.69, allocations: 1.417 MB / 0.6895 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0007382/0.6907, allocations: 224 kB / 0.6897 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007354/0.6981, allocations: 2.262 MB / 0.6919 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008495/0.699, allocations: 0.5724 MB / 0.6925 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001571/0.7005, allocations: 0.9881 MB / 0.6934 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01059/0.7111, allocations: 5.122 MB / 0.6984 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.7111, allocations: 0 / 0.6984 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7111, allocations: 0 / 0.6984 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.638e-05/0.7112, allocations: 3.938 kB / 0.6984 GB, free: 2.031 MB / 0.5294 GB 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.005766/0.7169, allocations: 2.83 MB / 0.7012 GB, free: 15.16 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.717, allocations: 16.02 kB / 0.7012 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.124e-05/0.7171, allocations: 48.05 kB / 0.7013 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003559/0.7174, allocations: 274.7 kB / 0.7015 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004587/0.722, allocations: 0.8659 MB / 0.7024 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00175/0.7238, allocations: 0.9094 MB / 0.7033 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002303/0.724, allocations: 255.2 kB / 0.7035 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003509/0.7243, allocations: 208.1 kB / 0.7037 GB, free: 12.53 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003908/0.7282, allocations: 2.144 MB / 0.7058 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.1e-05/0.7283, allocations: 7.938 kB / 0.7058 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002019/0.7285, allocations: 76 kB / 0.7059 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.941e-05/0.7285, allocations: 52 kB / 0.7059 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004303/0.7328, allocations: 2.307 MB / 0.7082 GB, free: 7.902 MB / 0.545 GB 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.01704/0.7499, allocations: 6.052 MB / 0.7141 GB, free: 1.691 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006663/0.7565, allocations: 1.554 MB / 0.7156 GB, free: 132 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002383/0.7589, allocations: 0.739 MB / 0.7163 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01452/0.7734, allocations: 3.922 MB / 0.7202 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.351e-05/0.7735, allocations: 55.88 kB / 0.7202 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 7.023e-06/0.7735, allocations: 0 / 0.7202 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=174): time 0.03319/0.8067, allocations: 6.515 MB / 0.7266 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.8068, allocations: 99.11 kB / 0.7267 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002111/0.8089, allocations: 0.9575 MB / 0.7276 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002358/0.8092, allocations: 53.7 kB / 0.7277 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001173/0.8103, allocations: 0.9064 MB / 0.7285 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009609/0.8113, allocations: 0.6119 MB / 0.7291 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001094/0.8124, allocations: 411.5 kB / 0.7295 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.8126, allocations: 305.1 kB / 0.7298 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00222/0.8148, allocations: 0.6248 MB / 0.7304 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.242/1.057, allocations: 1.186 MB / 0.7316 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003415/1.06, allocations: 1.991 MB / 0.7335 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.504e-05/1.06, allocations: 6.016 kB / 0.7335 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005571/1.066, allocations: 2.573 MB / 0.7361 GB, free: 182.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/1.066, allocations: 12.09 kB / 0.7361 GB, free: 182.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/1.066, allocations: 17.81 kB / 0.7361 GB, free: 182.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002372/1.068, allocations: 0.6007 MB / 0.7367 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002375/1.071, allocations: 484.5 kB / 0.7371 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008669/1.079, allocations: 8.905 MB / 0.7458 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/1.081, allocations: 68.28 kB / 0.7459 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003372/1.081, allocations: 164.6 kB / 0.7461 GB, free: 175.1 MB / 0.5606 GB 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.0009517/1.082, allocations: 433.7 kB / 0.7465 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003295/1.083, allocations: 153.6 kB / 0.7466 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005859/1.088, allocations: 2.618 MB / 0.7492 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.008e-05/1.089, allocations: 18.62 kB / 0.7492 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/1.089, allocations: 6.781 kB / 0.7492 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.443e-05/1.089, allocations: 10.7 kB / 0.7492 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00735/1.096, allocations: 3.889 MB / 0.753 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/1.096, allocations: 7.594 kB / 0.753 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002148/1.098, allocations: 379 kB / 0.7534 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00212/1.1, allocations: 0.4951 MB / 0.7539 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001913/1.1, allocations: 75.67 kB / 0.7539 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005453/1.106, allocations: 6.324 MB / 0.7601 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/1.106, allocations: 3.75 kB / 0.7601 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006146/1.112, allocations: 3.153 MB / 0.7632 GB, free: 165 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000456/1.112, allocations: 137.4 kB / 0.7633 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002237/1.113, allocations: 33.91 kB / 0.7633 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008553/1.113, allocations: 42.62 kB / 0.7634 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004366/1.114, allocations: 172.2 kB / 0.7636 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002249/1.114, allocations: 126.2 kB / 0.7637 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009172/1.115, allocations: 0.6205 MB / 0.7643 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/1.115, allocations: 2.625 kB / 0.7643 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002994/1.118, allocations: 0.8336 MB / 0.7651 GB, free: 164.4 MB / 0.5606 GB 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 (154): * Single equations (assignments): 149 * 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.007221/1.125, allocations: 4.409 MB / 0.7694 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003953/1.129, allocations: 2.335 MB / 0.7717 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/1.129, allocations: 0 / 0.7717 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002081/1.131, allocations: 1.311 MB / 0.773 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/1.133, allocations: 317.7 kB / 0.7733 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02075/1.154, allocations: 14.14 MB / 0.7871 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007249/1.154, allocations: 0.8255 MB / 0.7879 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001565/1.156, allocations: 444.7 kB / 0.7883 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/1.157, allocations: 0.8858 MB / 0.7892 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.463e-06/1.157, allocations: 0 / 0.7892 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.116/1.273, allocations: 52.17 MB / 0.8401 GB, free: 95.55 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.34/26.61, allocations: 4 kB / 0.8401 GB, free: 95.55 MB / 0.5606 GB " [Timeout remaining time 633] (rm -f Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_HydrogenCombustion_fmu --startTime=0 --stopTime=0.39 --stepSize=0.000156 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_HydrogenCombustion.fmu > Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 29.568455356988125] Failed to read output from testmodel.py, exit status != 0: 26.82780362898484 26.84598476 26.130946046 Calling exit ...