Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.EnzymeKinetics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 225.6 MB / 249.4 MB, free: 3.117 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1126/0.1126, allocations: 15.54 MB / 320 MB, free: 13.11 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.EnzymeKinetics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.EnzymeKinetics") translateModel(Chemical.Examples.EnzymeKinetics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.EnzymeKinetics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 65.08 kB / 448.2 MB, free: 46.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1398, allocations: 56.56 MB / 0.493 GB, free: 19.05 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740: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 1.4.1-master/package.mo:4740:7-4740: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.Examples.EnzymeKinetics): time 0.04337/0.1832, allocations: 27.34 MB / 0.5196 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02934/0.2125, allocations: 19.56 MB / 0.5387 GB, free: 6.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002332/0.2149, allocations: 19.88 kB / 0.5388 GB, free: 6.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001903/0.2168, allocations: 420.9 kB / 0.5392 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007048/0.2238, allocations: 1.652 MB / 0.5408 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01081/0.2346, allocations: 2.505 MB / 0.5432 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005028/0.2397, allocations: 1.977 MB / 0.5452 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001769/0.2414, allocations: 0.9232 MB / 0.5461 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001644/0.2431, allocations: 1.002 MB / 0.547 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001959/0.245, allocations: 1.141 MB / 0.5482 GB, free: 12.53 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003621/0.2454, allocations: 175.9 kB / 0.5483 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009637/0.255, allocations: 2.188 MB / 0.5505 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008627/0.2559, allocations: 426.8 kB / 0.5509 GB, free: 9.746 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001477/0.2574, allocations: 0.8634 MB / 0.5517 GB, free: 8.879 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01498/0.2724, allocations: 4.136 MB / 0.5557 GB, free: 4.727 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.2724, allocations: 0 / 0.5557 GB, free: 4.727 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.2724, allocations: 0 / 0.5557 GB, free: 4.727 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.036e-05/0.2724, allocations: 4 kB / 0.5557 GB, free: 4.723 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.005462/0.2779, allocations: 2.234 MB / 0.5579 GB, free: 2.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.2779, allocations: 8.031 kB / 0.5579 GB, free: 2.422 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001696/0.2796, allocations: 351.3 kB / 0.5583 GB, free: 2.078 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001817/0.2814, allocations: 0.8113 MB / 0.5591 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001896/0.2816, allocations: 162.6 kB / 0.5592 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000282/0.2819, allocations: 140.3 kB / 0.5594 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003278/0.2852, allocations: 1.721 MB / 0.561 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.162e-05/0.2852, allocations: 4 kB / 0.561 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/0.2854, allocations: 55.98 kB / 0.5611 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.968e-05/0.2854, allocations: 32 kB / 0.5611 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003762/0.2892, allocations: 2.2 MB / 0.5633 GB, free: 12.86 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.01/0.2992, allocations: 5.547 MB / 0.5687 GB, free: 7.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005343/0.3045, allocations: 3.142 MB / 0.5718 GB, free: 3.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001275/0.3058, allocations: 0.7246 MB / 0.5725 GB, free: 3.117 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0109/0.3167, allocations: 7.041 MB / 0.5793 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.903e-05/0.3167, allocations: 47.5 kB / 0.5794 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007228/0.3175, allocations: 143.2 kB / 0.5795 GB, free: 11.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 2.856e-06/0.3175, allocations: 0 / 0.5795 GB, free: 11.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.01829/0.3358, allocations: 4.51 MB / 0.5839 GB, free: 6.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.552e-05/0.3358, allocations: 64.41 kB / 0.584 GB, free: 6.426 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.337, allocations: 0.7316 MB / 0.5847 GB, free: 5.684 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.3371, allocations: 45.7 kB / 0.5847 GB, free: 5.633 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005118/0.3376, allocations: 0.6677 MB / 0.5854 GB, free: 4.957 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004023/0.338, allocations: 420.4 kB / 0.5858 GB, free: 4.543 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000457/0.3385, allocations: 303.4 kB / 0.5861 GB, free: 4.238 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.3387, allocations: 353.9 kB / 0.5864 GB, free: 3.887 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008563/0.3395, allocations: 475.8 kB / 0.5869 GB, free: 3.422 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001334/0.3408, allocations: 0.9879 MB / 0.5878 GB, free: 2.207 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002352/0.3432, allocations: 1.573 MB / 0.5894 GB, free: 412 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.3432, allocations: 8 kB / 0.5894 GB, free: 404 kB / 446.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005938/0.3491, allocations: 1.99 MB / 0.5913 GB, free: 14.39 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/0.3492, allocations: 16 kB / 0.5913 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/0.3492, allocations: 16 kB / 0.5914 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002703/0.3519, allocations: 438.8 kB / 0.5918 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.3532, allocations: 383.4 kB / 0.5921 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006049/0.3593, allocations: 3.879 MB / 0.5959 GB, free: 9.395 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.3607, allocations: 48 kB / 0.596 GB, free: 9.348 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001842/0.3609, allocations: 91.97 kB / 0.5961 GB, free: 9.258 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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 (190): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0006891/0.3615, allocations: 314.3 kB / 0.5964 GB, free: 8.941 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003395/0.3619, allocations: 111.3 kB / 0.5965 GB, free: 8.832 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007816/0.3697, allocations: 1.804 MB / 0.5982 GB, free: 7.008 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.571e-05/0.3697, allocations: 12 kB / 0.5982 GB, free: 6.996 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.3697, allocations: 0 / 0.5982 GB, free: 6.996 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.664e-05/0.3698, allocations: 3.984 kB / 0.5983 GB, free: 6.992 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00317/0.3729, allocations: 1.334 MB / 0.5996 GB, free: 5.598 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.3729, allocations: 7.969 kB / 0.5996 GB, free: 5.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/0.3743, allocations: 239.6 kB / 0.5998 GB, free: 5.355 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003437/0.3777, allocations: 426 kB / 0.6002 GB, free: 4.93 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001773/0.3779, allocations: 43.97 kB / 0.6002 GB, free: 4.887 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007598/0.3855, allocations: 3.776 MB / 0.6039 GB, free: 0.832 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.012e-05/0.3856, allocations: 7.969 kB / 0.6039 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3369/0.7224, allocations: 2.336 MB / 0.6062 GB, free: 96.83 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000661/0.7231, allocations: 291.6 kB / 0.6065 GB, free: 96.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/0.7233, allocations: 28.11 kB / 0.6065 GB, free: 96.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006585/0.7239, allocations: 26.56 kB / 0.6065 GB, free: 96.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004246/0.7244, allocations: 107.2 kB / 0.6066 GB, free: 96.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000139/0.7245, allocations: 51.34 kB / 0.6067 GB, free: 96.73 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009042/0.7254, allocations: 480.8 kB / 0.6072 GB, free: 96.64 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7254, allocations: 2.938 kB / 0.6072 GB, free: 96.64 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004111/0.7295, allocations: 0.8349 MB / 0.608 GB, free: 96.64 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (solution.temperature,P.logn,S.logn,ES.logn,E.logn,liquidWater.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 (120): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002308/0.7318, allocations: 0.9281 MB / 0.6089 GB, free: 96.55 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003713/0.7355, allocations: 1.591 MB / 0.6104 GB, free: 96.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.7355, allocations: 1.031 kB / 0.6104 GB, free: 96.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001703/0.7372, allocations: 0.9336 MB / 0.6113 GB, free: 95.85 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/0.7387, allocations: 240.1 kB / 0.6116 GB, free: 95.84 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005387/0.7441, allocations: 2.425 MB / 0.6139 GB, free: 94.94 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000932/0.745, allocations: 1.127 MB / 0.615 GB, free: 94.23 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001372/0.7464, allocations: 300.3 kB / 0.6153 GB, free: 94.21 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006502/0.747, allocations: 182.6 kB / 0.6155 GB, free: 94.2 MB / 462.1 MB Notification: Performance of SimCode: time 1.552e-06/0.747, allocations: 0 / 0.6155 GB, free: 94.2 MB / 462.1 MB Notification: Performance of Templates: time 0.06331/0.8104, allocations: 29.06 MB / 0.6439 GB, free: 74.7 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.EnzymeKinetics.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.EnzymeKinetics.pipe ; mkfifo Chemical_Chemical.Examples.EnzymeKinetics.pipe ; head -c 1048576 < Chemical_Chemical.Examples.EnzymeKinetics.pipe >> ../files/Chemical_Chemical.Examples.EnzymeKinetics.sim & ./Chemical_Chemical.Examples.EnzymeKinetics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.EnzymeKinetics.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.667544234544039]