Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.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.001724/0.001724, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.002053/0.002053, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.64/1.64, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.1527/0.1527, allocations: 23.88 MB / 333.4 MB, free: 1.188 MB / 254.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.SimpleReaction2,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_SimpleReaction2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.SimpleReaction2,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_SimpleReaction2",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.002035/0.002035, allocations: 64.81 kB / 466.7 MB, free: 30.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1109, allocations: 59.85 MB / 0.5142 GB, free: 12.92 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.SimpleReaction2): time 0.04004/0.151, allocations: 25.64 MB / 0.5393 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01591/0.1669, allocations: 11.69 MB / 0.5507 GB, free: 7.594 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000671/0.1675, allocations: 15.88 kB / 0.5507 GB, free: 7.578 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007677/0.1683, allocations: 270 kB / 0.551 GB, free: 7.312 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002677/0.171, allocations: 0.9889 MB / 0.5519 GB, free: 6.316 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00391/0.1749, allocations: 1.511 MB / 0.5534 GB, free: 4.797 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001707/0.1766, allocations: 1.252 MB / 0.5546 GB, free: 3.539 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007873/0.1774, allocations: 0.5841 MB / 0.5552 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007368/0.1781, allocations: 0.6195 MB / 0.5558 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009426/0.1791, allocations: 0.6774 MB / 0.5565 GB, free: 1.625 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001679/0.1792, allocations: 107.9 kB / 0.5566 GB, free: 1.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003502/0.1827, allocations: 1.299 MB / 0.5578 GB, free: 224 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002965/0.183, allocations: 263.3 kB / 0.5581 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005917/0.1836, allocations: 0.5561 MB / 0.5586 GB, free: 15.4 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00458/0.1882, allocations: 2.591 MB / 0.5611 GB, free: 12.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1882, allocations: 0 / 0.5611 GB, free: 12.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.1882, allocations: 0 / 0.5611 GB, free: 12.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.776e-05/0.1882, allocations: 0 / 0.5611 GB, free: 12.8 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002923/0.1912, allocations: 1.529 MB / 0.5626 GB, free: 11.22 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.1912, allocations: 12.03 kB / 0.5627 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.705e-05/0.1912, allocations: 22.19 kB / 0.5627 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001812/0.1914, allocations: 143.6 kB / 0.5628 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009957/0.1924, allocations: 215.9 kB / 0.563 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009474/0.1934, allocations: 0.5797 MB / 0.5636 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.1935, allocations: 96.27 kB / 0.5637 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/0.1937, allocations: 96.11 kB / 0.5638 GB, free: 10.01 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/0.1955, allocations: 1.045 MB / 0.5648 GB, free: 8.945 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.1955, allocations: 0 / 0.5648 GB, free: 8.945 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-05/0.1956, allocations: 36 kB / 0.5648 GB, free: 8.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/0.1956, allocations: 24 kB / 0.5648 GB, free: 8.887 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002205/0.1978, allocations: 1.273 MB / 0.5661 GB, free: 7.617 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.005721/0.2036, allocations: 3.482 MB / 0.5695 GB, free: 3.953 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002555/0.2061, allocations: 1.485 MB / 0.5709 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000737/0.2068, allocations: 387.7 kB / 0.5713 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005784/0.2126, allocations: 4.057 MB / 0.5753 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/0.2127, allocations: 39.12 kB / 0.5753 GB, free: 13.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=56): time 2.114e-06/0.2127, allocations: 0 / 0.5753 GB, free: 13.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=63): time 0.003628/0.2163, allocations: 1.671 MB / 0.5769 GB, free: 11.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.2164, allocations: 59.97 kB / 0.577 GB, free: 11.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006417/0.217, allocations: 0.5107 MB / 0.5775 GB, free: 11.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.473e-05/0.217, allocations: 37.7 kB / 0.5775 GB, free: 11.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003466/0.2174, allocations: 475.7 kB / 0.578 GB, free: 10.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002036/0.2176, allocations: 242 kB / 0.5782 GB, free: 10.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002461/0.2178, allocations: 174.6 kB / 0.5784 GB, free: 10.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.218, allocations: 374.8 kB / 0.5787 GB, free: 9.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004135/0.2184, allocations: 209.9 kB / 0.5789 GB, free: 9.617 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006758/0.2191, allocations: 0.5295 MB / 0.5795 GB, free: 8.938 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.2203, allocations: 0.817 MB / 0.5803 GB, free: 7.965 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.2203, allocations: 8 kB / 0.5803 GB, free: 7.957 MB / 446.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001471/0.2218, allocations: 0.8505 MB / 0.5811 GB, free: 7.105 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/0.2218, allocations: 15.94 kB / 0.5811 GB, free: 7.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.2219, allocations: 8 kB / 0.5811 GB, free: 7.082 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-05/0.2219, allocations: 16 kB / 0.5811 GB, free: 7.066 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.2229, allocations: 263.6 kB / 0.5814 GB, free: 6.809 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.647e-05/0.2229, allocations: 23.92 kB / 0.5814 GB, free: 6.785 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004446/0.2234, allocations: 36.06 kB / 0.5814 GB, free: 6.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.317e-05/0.2235, allocations: 51.94 kB / 0.5815 GB, free: 6.699 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (115): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003542/0.2238, allocations: 238.3 kB / 0.5817 GB, free: 6.457 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.224, allocations: 71.52 kB / 0.5818 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001474/0.2254, allocations: 0.6853 MB / 0.5825 GB, free: 5.688 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.2254, allocations: 8 kB / 0.5825 GB, free: 5.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2254, allocations: 0 / 0.5825 GB, free: 5.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.2255, allocations: 7.922 kB / 0.5825 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.2266, allocations: 0.7644 MB / 0.5832 GB, free: 4.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/0.2266, allocations: 4 kB / 0.5832 GB, free: 4.836 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008134/0.2274, allocations: 171.9 kB / 0.5834 GB, free: 4.668 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/0.2275, allocations: 7.938 kB / 0.5834 GB, free: 4.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.882e-05/0.2275, allocations: 24 kB / 0.5834 GB, free: 4.637 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.245e-06/0.2275, allocations: 7.984 kB / 0.5834 GB, free: 4.629 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2275, allocations: 0 / 0.5834 GB, free: 4.629 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.229, allocations: 0.9523 MB / 0.5843 GB, free: 3.656 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002782/0.2293, allocations: 204.5 kB / 0.5845 GB, free: 3.438 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.974e-05/0.2294, allocations: 15.94 kB / 0.5846 GB, free: 3.422 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002968/0.2297, allocations: 12 kB / 0.5846 GB, free: 3.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.2298, allocations: 52.5 kB / 0.5846 GB, free: 3.355 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.007e-05/0.2299, allocations: 32.02 kB / 0.5847 GB, free: 3.324 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004559/0.2303, allocations: 338.9 kB / 0.585 GB, free: 2.996 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2303, allocations: 0 / 0.585 GB, free: 2.996 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001514/0.2318, allocations: 486.6 kB / 0.5854 GB, free: 2.52 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (solution.temperature,A.logn,B.logn,C.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 (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003042/0.2349, allocations: 1.995 MB / 0.5874 GB, free: 496 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.2332/0.4681, allocations: 0.564 MB / 0.5879 GB, free: 65.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.4681, allocations: 3.5 kB / 0.5879 GB, free: 65.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005501/0.4686, allocations: 260 kB / 0.5882 GB, free: 65.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009931/0.4696, allocations: 160.7 kB / 0.5883 GB, free: 65.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008298/0.4779, allocations: 6.126 MB / 0.5943 GB, free: 62.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004621/0.4784, allocations: 0.9536 MB / 0.5953 GB, free: 62.19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005947/0.479, allocations: 170.4 kB / 0.5954 GB, free: 62.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004242/0.4794, allocations: 345.8 kB / 0.5957 GB, free: 61.95 MB / 446.1 MB Notification: Performance of SimCode: time 8.51e-07/0.4794, allocations: 0 / 0.5957 GB, free: 61.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04516/0.5246, allocations: 21.12 MB / 0.6164 GB, free: 54.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.07/10.59, allocations: 8 kB / 0.6164 GB, free: 54.22 MB / 446.1 MB " [Timeout remaining time 649] (rm -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_SimpleReaction2_fmu --startTime=0 --stopTime=0.0001 --stepSize=4e-08 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_SimpleReaction2.fmu > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.67679619602859] Failed to read output from testmodel.py, exit status != 0: 10.736207147012465 10.747672366 10.557208499 Calling exit ...