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.00153/0.00153, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001594/0.001594, allocations: 208.2 kB / 22.99 MB, free: 4.984 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.391/1.391, 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.1336/0.1336, allocations: 23.92 MB / 337.1 MB, free: 10.93 MB / 270.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.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2") [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.001995/0.001995, allocations: 71.89 kB / 472.4 MB, free: 6.969 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2948, allocations: 59.88 MB / 0.5198 GB, free: 9.824 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.06577/0.3606, allocations: 25.35 MB / 0.5446 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01429/0.3749, allocations: 10.26 MB / 0.5546 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.3759, allocations: 15.88 kB / 0.5546 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009894/0.3769, allocations: 233.6 kB / 0.5548 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003208/0.3801, allocations: 1.001 MB / 0.5558 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005493/0.3856, allocations: 1.533 MB / 0.5573 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002001/0.3876, allocations: 1.251 MB / 0.5585 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000815/0.3884, allocations: 0.5734 MB / 0.5591 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006924/0.3891, allocations: 0.6235 MB / 0.5597 GB, free: 356 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009202/0.39, allocations: 0.6775 MB / 0.5604 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.3902, allocations: 108 kB / 0.5605 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003441/0.3936, allocations: 1.255 MB / 0.5617 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003075/0.3939, allocations: 258.2 kB / 0.5619 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005407/0.3945, allocations: 468.3 kB / 0.5624 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005314/0.3998, allocations: 2.589 MB / 0.5649 GB, free: 11.58 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.3998, allocations: 0 / 0.5649 GB, free: 11.58 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3998, allocations: 0 / 0.5649 GB, free: 11.58 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.3998, allocations: 0 / 0.5649 GB, free: 11.58 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002718/0.4025, allocations: 1.45 MB / 0.5663 GB, free: 10.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.4026, allocations: 12.03 kB / 0.5663 GB, free: 10.08 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.4036, allocations: 211.9 kB / 0.5665 GB, free: 9.875 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009692/0.4046, allocations: 0.5271 MB / 0.5671 GB, free: 9.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/0.4047, allocations: 122 kB / 0.5672 GB, free: 9.188 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/0.4049, allocations: 92.36 kB / 0.5673 GB, free: 9.098 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.4066, allocations: 1.045 MB / 0.5683 GB, free: 8.035 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.4066, allocations: 4 kB / 0.5683 GB, free: 8.031 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-05/0.4067, allocations: 36 kB / 0.5683 GB, free: 7.996 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/0.4067, allocations: 24 kB / 0.5683 GB, free: 7.973 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002004/0.4087, allocations: 1.257 MB / 0.5696 GB, free: 6.715 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.004954/0.4137, allocations: 2.709 MB / 0.5722 GB, free: 3.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/0.4159, allocations: 1.238 MB / 0.5734 GB, free: 2.688 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006175/0.4166, allocations: 391.7 kB / 0.5738 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004542/0.4211, allocations: 2.08 MB / 0.5758 GB, free: 204 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.4211, allocations: 39.06 kB / 0.5759 GB, free: 152 kB / 414.1 MB Notification: Performance of pre-optimization done (n=56): time 2.305e-06/0.4211, allocations: 0 / 0.5759 GB, free: 152 kB / 414.1 MB Notification: Performance of matching and sorting (n=63): time 0.003299/0.4244, allocations: 1.596 MB / 0.5774 GB, free: 14.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.4245, allocations: 71.98 kB / 0.5775 GB, free: 14.44 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005793/0.4251, allocations: 0.4947 MB / 0.578 GB, free: 13.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.46e-05/0.4251, allocations: 37.7 kB / 0.578 GB, free: 13.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003235/0.4254, allocations: 475.7 kB / 0.5785 GB, free: 13.42 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.4256, allocations: 238 kB / 0.5787 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002349/0.4259, allocations: 170.6 kB / 0.5789 GB, free: 13.01 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.4261, allocations: 374.8 kB / 0.5792 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003863/0.4264, allocations: 209.9 kB / 0.5794 GB, free: 12.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006502/0.4271, allocations: 0.5373 MB / 0.5799 GB, free: 11.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.4282, allocations: 0.8065 MB / 0.5807 GB, free: 10.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.4282, allocations: 4 kB / 0.5807 GB, free: 10.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001401/0.4296, allocations: 0.8557 MB / 0.5816 GB, free: 9.922 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.4296, allocations: 16.91 kB / 0.5816 GB, free: 9.906 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.4296, allocations: 8 kB / 0.5816 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-05/0.4297, allocations: 20 kB / 0.5816 GB, free: 9.879 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009656/0.4306, allocations: 267.6 kB / 0.5819 GB, free: 9.617 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.222e-05/0.4307, allocations: 23.88 kB / 0.5819 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004107/0.4311, allocations: 28 kB / 0.5819 GB, free: 9.566 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.083e-05/0.4312, allocations: 51.98 kB / 0.582 GB, free: 9.516 MB / 430.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.0003265/0.4315, allocations: 237.5 kB / 0.5822 GB, free: 9.273 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.4316, allocations: 67.58 kB / 0.5823 GB, free: 9.207 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/0.4329, allocations: 0.6794 MB / 0.5829 GB, free: 8.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.4329, allocations: 11.92 kB / 0.5829 GB, free: 8.508 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4329, allocations: 7.938 kB / 0.5829 GB, free: 8.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.158e-06/0.4329, allocations: 3.984 kB / 0.5829 GB, free: 8.496 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000866/0.4338, allocations: 0.5846 MB / 0.5835 GB, free: 7.863 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4338, allocations: 0 / 0.5835 GB, free: 7.863 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007442/0.4345, allocations: 171.8 kB / 0.5837 GB, free: 7.695 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.034e-06/0.4345, allocations: 4 kB / 0.5837 GB, free: 7.691 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.571e-05/0.4346, allocations: 20 kB / 0.5837 GB, free: 7.672 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.074e-06/0.4346, allocations: 12.06 kB / 0.5837 GB, free: 7.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.248e-06/0.4346, allocations: 11.94 kB / 0.5837 GB, free: 7.648 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.436, allocations: 0.949 MB / 0.5846 GB, free: 6.672 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002651/0.4363, allocations: 111.6 kB / 0.5848 GB, free: 6.562 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.419e-05/0.4364, allocations: 12 kB / 0.5848 GB, free: 6.551 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000268/0.4366, allocations: 15.98 kB / 0.5848 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.4367, allocations: 56.5 kB / 0.5848 GB, free: 6.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.566e-05/0.4368, allocations: 24 kB / 0.5849 GB, free: 6.457 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003582/0.4372, allocations: 318.9 kB / 0.5852 GB, free: 6.148 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4372, allocations: 0 / 0.5852 GB, free: 6.148 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001431/0.4386, allocations: 486.6 kB / 0.5856 GB, free: 5.672 MB / 430.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.001123/0.4397, allocations: 0.6027 MB / 0.5862 GB, free: 5.055 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.4407, allocations: 0.5701 MB / 0.5868 GB, free: 4.484 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4407, allocations: 0 / 0.5868 GB, free: 4.484 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004019/0.4411, allocations: 263.6 kB / 0.587 GB, free: 4.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008002/0.4419, allocations: 152.4 kB / 0.5872 GB, free: 4.086 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/0.4444, allocations: 1.513 MB / 0.5886 GB, free: 2.531 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.4448, allocations: 373.3 kB / 0.589 GB, free: 2.141 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005827/0.4453, allocations: 161.2 kB / 0.5892 GB, free: 1.98 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/0.4456, allocations: 103.4 kB / 0.5893 GB, free: 1.879 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4456, allocations: 0 / 0.5893 GB, free: 1.879 MB / 430.1 MB Notification: Performance of Templates: time 0.0254/0.471, allocations: 15.59 MB / 0.6045 GB, free: 2.418 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.makefile [Timeout 660] (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 & ./Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.095934101991588] Failed to read output from testmodel.py, exit status != 0: 0.479297771002166 0.493030139 0.09023811799999994 Calling exit ...