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.001569/0.001569, allocations: 111.7 kB / 17.13 MB, free: 5.926 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.001733/0.001733, allocations: 204 kB / 20.09 MB, free: 2.977 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.583/1.583, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.1418/0.1418, allocations: 23.9 MB / 333.4 MB, free: 1.168 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/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: translateModel(Chemical.Obsolete.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction") translateModel(Chemical.Obsolete.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction") [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.002138/0.002138, allocations: 64.64 kB / 467.2 MB, free: 30.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1058, allocations: 59.85 MB / 0.5147 GB, free: 12.41 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.03723/0.1431, allocations: 25.1 MB / 0.5392 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01096/0.154, allocations: 8.036 MB / 0.5471 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004746/0.1545, allocations: 15.88 kB / 0.5471 GB, free: 11.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005507/0.1551, allocations: 186.5 kB / 0.5473 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001613/0.1567, allocations: 0.6942 MB / 0.5479 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002268/0.1589, allocations: 1.025 MB / 0.5489 GB, free: 9.355 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001082/0.16, allocations: 0.9394 MB / 0.5499 GB, free: 8.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005758/0.1606, allocations: 441.8 kB / 0.5503 GB, free: 7.969 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004712/0.1611, allocations: 458.9 kB / 0.5507 GB, free: 7.52 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006892/0.1618, allocations: 0.4982 MB / 0.5512 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.1619, allocations: 80 kB / 0.5513 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001832/0.1637, allocations: 0.8775 MB / 0.5521 GB, free: 6.062 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002347/0.1639, allocations: 199.3 kB / 0.5523 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003934/0.1643, allocations: 418.1 kB / 0.5527 GB, free: 5.457 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00244/0.1668, allocations: 1.817 MB / 0.5545 GB, free: 3.633 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.1668, allocations: 4 kB / 0.5545 GB, free: 3.629 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1668, allocations: 0 / 0.5545 GB, free: 3.629 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.1668, allocations: 0 / 0.5545 GB, free: 3.629 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.002038/0.1688, allocations: 1.191 MB / 0.5557 GB, free: 2.383 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.1689, allocations: 12.03 kB / 0.5557 GB, free: 2.371 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006826/0.1695, allocations: 144.4 kB / 0.5558 GB, free: 2.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007516/0.1703, allocations: 495.6 kB / 0.5563 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.993e-05/0.1704, allocations: 84.25 kB / 0.5564 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.1705, allocations: 72.33 kB / 0.5564 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.1719, allocations: 0.7777 MB / 0.5572 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.1719, allocations: 0 / 0.5572 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.954e-05/0.172, allocations: 24 kB / 0.5572 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.172, allocations: 16 kB / 0.5572 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/0.1735, allocations: 0.8835 MB / 0.5581 GB, free: 15.83 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.004201/0.1777, allocations: 2.575 MB / 0.5606 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.1793, allocations: 0.9661 MB / 0.5616 GB, free: 12.1 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004854/0.1798, allocations: 278.3 kB / 0.5618 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003916/0.1837, allocations: 2.844 MB / 0.5646 GB, free: 8.648 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.536e-05/0.1838, allocations: 34.5 kB / 0.5646 GB, free: 8.605 MB / 430.1 MB Notification: Performance of pre-optimization done (n=41): time 4.028e-06/0.1838, allocations: 0 / 0.5646 GB, free: 8.605 MB / 430.1 MB Notification: Performance of matching and sorting (n=46): time 0.002649/0.1864, allocations: 1.245 MB / 0.5658 GB, free: 7.309 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.382e-05/0.1865, allocations: 55.41 kB / 0.5659 GB, free: 7.242 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004681/0.187, allocations: 425.8 kB / 0.5663 GB, free: 6.824 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/0.187, allocations: 37.64 kB / 0.5663 GB, free: 6.781 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002666/0.1873, allocations: 376.1 kB / 0.5667 GB, free: 6.406 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001771/0.1875, allocations: 170.6 kB / 0.5669 GB, free: 6.238 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/0.1876, allocations: 130.6 kB / 0.567 GB, free: 6.102 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.1878, allocations: 366.8 kB / 0.5673 GB, free: 5.734 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/0.1881, allocations: 145.9 kB / 0.5675 GB, free: 5.594 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005449/0.1886, allocations: 388.3 kB / 0.5678 GB, free: 5.109 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008957/0.1895, allocations: 0.5786 MB / 0.5684 GB, free: 4.422 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.1895, allocations: 4 kB / 0.5684 GB, free: 4.418 MB / 430.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001066/0.1906, allocations: 0.6094 MB / 0.569 GB, free: 3.801 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.1906, allocations: 8 kB / 0.569 GB, free: 3.793 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.1906, allocations: 12 kB / 0.569 GB, free: 3.781 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.439e-05/0.1907, allocations: 23.88 kB / 0.569 GB, free: 3.758 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007382/0.1914, allocations: 195.8 kB / 0.5692 GB, free: 3.566 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.115e-05/0.1915, allocations: 19.92 kB / 0.5693 GB, free: 3.547 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003168/0.1918, allocations: 24 kB / 0.5693 GB, free: 3.523 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-05/0.1918, allocations: 32 kB / 0.5693 GB, free: 3.492 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.0002421/0.1921, allocations: 205.6 kB / 0.5695 GB, free: 3.281 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.125e-05/0.1922, allocations: 55.67 kB / 0.5696 GB, free: 3.227 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009801/0.1931, allocations: 0.5013 MB / 0.57 GB, free: 2.719 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.1932, allocations: 4 kB / 0.57 GB, free: 2.715 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1932, allocations: 4 kB / 0.5701 GB, free: 2.711 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/0.1932, allocations: 3.984 kB / 0.5701 GB, free: 2.707 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008366/0.194, allocations: 0.6238 MB / 0.5707 GB, free: 2.016 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.194, allocations: 0 / 0.5707 GB, free: 2.016 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006343/0.1946, allocations: 143.8 kB / 0.5708 GB, free: 1.875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1946, allocations: 0 / 0.5708 GB, free: 1.875 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-05/0.1947, allocations: 19.94 kB / 0.5708 GB, free: 1.855 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.1947, allocations: 4 kB / 0.5708 GB, free: 1.852 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.1947, allocations: 12.08 kB / 0.5708 GB, free: 1.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.1958, allocations: 0.715 MB / 0.5715 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/0.196, allocations: 168.8 kB / 0.5717 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.1961, allocations: 11.94 kB / 0.5717 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.1963, allocations: 19.94 kB / 0.5717 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.952e-05/0.1964, allocations: 36.39 kB / 0.5718 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.409e-05/0.1964, allocations: 20 kB / 0.5718 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003206/0.1967, allocations: 279.1 kB / 0.572 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1967, allocations: 0 / 0.572 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009423/0.1977, allocations: 331.1 kB / 0.5724 GB, free: 236 kB / 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.0008216/0.1985, allocations: 441.9 kB / 0.5728 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000774/0.1993, allocations: 414.2 kB / 0.5732 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/0.1993, allocations: 0 / 0.5732 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003095/0.1996, allocations: 187 kB / 0.5734 GB, free: 15.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007284/0.2003, allocations: 136.1 kB / 0.5735 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.2024, allocations: 1.242 MB / 0.5747 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005599/0.203, allocations: 0.8822 MB / 0.5756 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/0.2032, allocations: 95.39 kB / 0.5757 GB, free: 12.78 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2032, allocations: 3.938 kB / 0.5757 GB, free: 12.78 MB / 446.1 MB Notification: Performance of Templates: time 0.01416/0.2174, allocations: 9.362 MB / 0.5848 GB, free: 3.441 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.makefile [Timeout 660] (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 & ./Chemical_master_Chemical.Obsolete.Examples.SimpleReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.145680527988588] Failed to read output from testmodel.py, exit status != 0: 0.22511206599301659 0.4302385 0.260875283 Calling exit ...