Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.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.001293/0.001293, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001367/0.001367, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.498/1.498, 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.1485/0.1485, allocations: 23.89 MB / 333.4 MB, free: 1.25 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.SimpleReaction,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_SimpleReaction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.SimpleReaction,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_SimpleReaction",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.001931/0.001931, allocations: 68.22 kB / 466.7 MB, free: 30.96 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1086, allocations: 59.83 MB / 0.5142 GB, free: 13.06 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.SimpleReaction): time 0.04142/0.15, allocations: 24.85 MB / 0.5385 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01126/0.1613, allocations: 8.033 MB / 0.5463 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006955/0.162, allocations: 11.88 kB / 0.5463 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006379/0.1626, allocations: 186.5 kB / 0.5465 GB, free: 12 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001901/0.1645, allocations: 0.6825 MB / 0.5472 GB, free: 11.31 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002924/0.1674, allocations: 1.045 MB / 0.5482 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001315/0.1688, allocations: 0.9355 MB / 0.5491 GB, free: 9.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006302/0.1694, allocations: 445.8 kB / 0.5495 GB, free: 8.875 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005786/0.17, allocations: 458.8 kB / 0.55 GB, free: 8.426 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007107/0.1707, allocations: 0.4982 MB / 0.5505 GB, free: 7.926 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.1708, allocations: 80 kB / 0.5505 GB, free: 7.848 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00231/0.1731, allocations: 0.8737 MB / 0.5514 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002371/0.1734, allocations: 195.4 kB / 0.5516 GB, free: 6.781 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004588/0.1738, allocations: 418.1 kB / 0.552 GB, free: 6.371 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002864/0.1767, allocations: 1.821 MB / 0.5538 GB, free: 4.543 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1767, allocations: 4 kB / 0.5538 GB, free: 4.539 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1767, allocations: 0 / 0.5538 GB, free: 4.539 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.1767, allocations: 0 / 0.5538 GB, free: 4.539 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002231/0.1789, allocations: 1.191 MB / 0.5549 GB, free: 3.293 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.179, allocations: 12.02 kB / 0.5549 GB, free: 3.281 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.579e-05/0.179, allocations: 18.19 kB / 0.5549 GB, free: 3.266 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001385/0.1791, allocations: 114.6 kB / 0.5551 GB, free: 3.145 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007014/0.1799, allocations: 156.1 kB / 0.5552 GB, free: 2.992 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007736/0.1806, allocations: 491.5 kB / 0.5557 GB, free: 2.477 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.1807, allocations: 80.27 kB / 0.5558 GB, free: 2.391 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.1809, allocations: 76.08 kB / 0.5558 GB, free: 2.316 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.1823, allocations: 0.7737 MB / 0.5566 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.1823, allocations: 0 / 0.5566 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.147e-05/0.1823, allocations: 24 kB / 0.5566 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/0.1824, allocations: 20 kB / 0.5566 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/0.1839, allocations: 0.8835 MB / 0.5575 GB, free: 0.5977 MB / 414.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.004437/0.1884, allocations: 2.568 MB / 0.56 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/0.1901, allocations: 0.9661 MB / 0.5609 GB, free: 12.87 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004892/0.1905, allocations: 278.4 kB / 0.5612 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004061/0.1946, allocations: 2.844 MB / 0.564 GB, free: 9.422 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.1946, allocations: 38.56 kB / 0.564 GB, free: 9.375 MB / 430.1 MB Notification: Performance of pre-optimization done (n=41): time 1.743e-06/0.1946, allocations: 0 / 0.564 GB, free: 9.375 MB / 430.1 MB Notification: Performance of matching and sorting (n=46): time 0.002644/0.1973, allocations: 1.237 MB / 0.5652 GB, free: 8.086 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.1973, allocations: 63.28 kB / 0.5653 GB, free: 8.012 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005167/0.1979, allocations: 421.8 kB / 0.5657 GB, free: 7.594 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/0.1979, allocations: 33.7 kB / 0.5657 GB, free: 7.555 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002817/0.1982, allocations: 376.2 kB / 0.5661 GB, free: 7.184 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/0.1983, allocations: 170.5 kB / 0.5662 GB, free: 7.016 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/0.1985, allocations: 130.6 kB / 0.5664 GB, free: 6.879 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.1987, allocations: 366.8 kB / 0.5667 GB, free: 6.512 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000295/0.199, allocations: 145.9 kB / 0.5669 GB, free: 6.371 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004968/0.1995, allocations: 392.3 kB / 0.5672 GB, free: 5.883 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008535/0.2004, allocations: 0.5709 MB / 0.5678 GB, free: 5.203 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.2004, allocations: 4 kB / 0.5678 GB, free: 5.199 MB / 430.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001069/0.2014, allocations: 0.6131 MB / 0.5684 GB, free: 4.578 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.2015, allocations: 12.09 kB / 0.5684 GB, free: 4.566 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.2015, allocations: 12 kB / 0.5684 GB, free: 4.555 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.841e-05/0.2015, allocations: 12 kB / 0.5684 GB, free: 4.543 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007688/0.2023, allocations: 207.7 kB / 0.5686 GB, free: 4.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.403e-05/0.2023, allocations: 15.94 kB / 0.5686 GB, free: 4.324 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003057/0.2026, allocations: 24 kB / 0.5687 GB, free: 4.301 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-05/0.2027, allocations: 35.98 kB / 0.5687 GB, free: 4.266 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (83): * Single equations (assignments): 83 * 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.0002753/0.2029, allocations: 202.5 kB / 0.5689 GB, free: 4.059 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.436e-05/0.203, allocations: 55.61 kB / 0.5689 GB, free: 4.004 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.2041, allocations: 0.4975 MB / 0.5694 GB, free: 3.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.2041, allocations: 8 kB / 0.5694 GB, free: 3.492 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.2041, allocations: 0 / 0.5694 GB, free: 3.492 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.2041, allocations: 3.984 kB / 0.5694 GB, free: 3.488 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009076/0.205, allocations: 0.6237 MB / 0.57 GB, free: 2.797 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.205, allocations: 0 / 0.57 GB, free: 2.797 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006405/0.2056, allocations: 143.8 kB / 0.5702 GB, free: 2.656 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.088e-05/0.2056, allocations: 7.938 kB / 0.5702 GB, free: 2.648 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.373e-05/0.2057, allocations: 12 kB / 0.5702 GB, free: 2.637 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.2057, allocations: 4.125 kB / 0.5702 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.2057, allocations: 8 kB / 0.5702 GB, free: 2.625 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.2068, allocations: 0.7189 MB / 0.5709 GB, free: 1.871 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002141/0.2071, allocations: 172.7 kB / 0.5711 GB, free: 1.684 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.416e-05/0.2071, allocations: 12 kB / 0.5711 GB, free: 1.672 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/0.2073, allocations: 15.98 kB / 0.5711 GB, free: 1.656 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.609e-05/0.2074, allocations: 32.39 kB / 0.5711 GB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/0.2075, allocations: 20 kB / 0.5712 GB, free: 1.605 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003191/0.2078, allocations: 279.1 kB / 0.5714 GB, free: 1.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2078, allocations: 0 / 0.5714 GB, free: 1.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001041/0.2088, allocations: 335 kB / 0.5717 GB, free: 1.012 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (solution.temperature,A.logn,B.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 (53): * Single equations (assignments): 53 * 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.002215/0.211, allocations: 1.606 MB / 0.5733 GB, free: 15.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007879/0.2118, allocations: 414.6 kB / 0.5737 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2118, allocations: 0 / 0.5737 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000318/0.2121, allocations: 190.4 kB / 0.5739 GB, free: 14.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007417/0.2129, allocations: 132.1 kB / 0.574 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007025/0.2199, allocations: 4.821 MB / 0.5787 GB, free: 9.516 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005663/0.2205, allocations: 0.8861 MB / 0.5796 GB, free: 8.602 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004549/0.2209, allocations: 120.5 kB / 0.5797 GB, free: 8.484 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004027/0.2213, allocations: 255.3 kB / 0.5799 GB, free: 8.234 MB / 446.1 MB Notification: Performance of SimCode: time 7.41e-07/0.2213, allocations: 0 / 0.5799 GB, free: 8.234 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2899/0.5113, allocations: 15.54 MB / 0.5951 GB, free: 65.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.539/10.05, allocations: 15.94 kB / 0.5951 GB, free: 65.73 MB / 446.1 MB " [Timeout remaining time 650] (rm -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_SimpleReaction_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_SimpleReaction.fmu > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.93320044502616] Failed to read output from testmodel.py, exit status != 0: 10.193647695006803 10.21117346 10.032132643 Calling exit ...