Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.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.0009092/0.0009092, allocations: 92.2 kB / 20.19 MB, free: 4.367 MB / 18.57 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.0009728/0.0009728, allocations: 173 kB / 23.5 MB, free: 1.059 MB / 18.57 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 0.9802/0.9802, allocations: 177.1 MB / 203.8 MB, free: 5.305 MB / 186.7 MB " [Timeout remaining time 179] 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.08939/0.08939, allocations: 17.45 MB / 277.7 MB, free: 11.5 MB / 266.7 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.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 353.6 MB, free: 10.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.847e-05/2.056e-05, allocations: 5.125 kB / 353.6 MB, free: 10.17 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.003815/0.003836, allocations: 3.015 MB / 356.6 MB, free: 7.129 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005024/0.00886, allocations: 6.305 MB / 362.9 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002445/0.009104, allocations: 11.88 kB / 362.9 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004344/0.009539, allocations: 143 kB / 363.1 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005554/0.01009, allocations: 269.7 kB / 363.3 MB, free: 392 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.01166, allocations: 0.9895 MB / 364.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005471/0.01221, allocations: 0.5062 MB / 364.8 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.01242, allocations: 144.7 kB / 365 MB, free: 14.74 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002346/0.01265, allocations: 303.5 kB / 365.3 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002791/0.01293, allocations: 211.5 kB / 365.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.133e-05/0.01297, allocations: 28 kB / 365.5 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008419/0.01381, allocations: 0.5262 MB / 366 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.549e-05/0.01391, allocations: 83.69 kB / 366.1 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.01403, allocations: 127.7 kB / 366.2 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00106/0.01509, allocations: 0.996 MB / 367.2 MB, free: 12.47 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.01509, allocations: 3.938 kB / 367.2 MB, free: 12.47 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01509, allocations: 0 / 367.2 MB, free: 12.47 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.0151, allocations: 0 / 367.2 MB, free: 12.47 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007771/0.01587, allocations: 0.7984 MB / 368 MB, free: 11.63 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.01591, allocations: 12.03 kB / 368 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004179/0.01633, allocations: 167.8 kB / 368.2 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.01667, allocations: 328.3 kB / 368.5 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.01669, allocations: 20.88 kB / 368.5 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.01672, allocations: 16.38 kB / 368.5 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003569/0.01707, allocations: 343 kB / 368.9 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.01708, allocations: 3.938 kB / 368.9 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.01711, allocations: 8 kB / 368.9 MB, free: 10.69 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.01712, allocations: 8 kB / 368.9 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004513/0.01757, allocations: 408.4 kB / 369.3 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.01871, allocations: 1.551 MB / 370.9 MB, free: 8.668 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.01892, allocations: 107 kB / 371 MB, free: 8.551 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.733e-05/0.019, allocations: 55.66 kB / 371 MB, free: 8.492 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/0.02006, allocations: 1.034 MB / 372 MB, free: 7.438 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.02008, allocations: 33.39 kB / 372.1 MB, free: 7.395 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.02008, allocations: 0 / 372.1 MB, free: 7.395 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002873/0.02037, allocations: 153.4 kB / 372.2 MB, free: 7.238 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.0204, allocations: 55.41 kB / 372.3 MB, free: 7.172 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.02065, allocations: 394.6 kB / 372.7 MB, free: 6.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.02066, allocations: 29.7 kB / 372.7 MB, free: 6.734 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.02079, allocations: 286.6 kB / 373 MB, free: 6.445 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.02082, allocations: 51.62 kB / 373 MB, free: 6.395 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.482e-05/0.02089, allocations: 75.31 kB / 373.1 MB, free: 6.312 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.02102, allocations: 0.5157 MB / 373.6 MB, free: 5.785 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.736e-05/0.02108, allocations: 35.97 kB / 373.7 MB, free: 5.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.02125, allocations: 298.8 kB / 373.9 MB, free: 5.336 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.0215, allocations: 358.5 kB / 374.3 MB, free: 4.863 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.0215, allocations: 0 / 374.3 MB, free: 4.863 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00032/0.02182, allocations: 305.5 kB / 374.6 MB, free: 4.559 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.02184, allocations: 15.12 kB / 374.6 MB, free: 4.547 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.02184, allocations: 8 kB / 374.6 MB, free: 4.539 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/0.02187, allocations: 12 kB / 374.6 MB, free: 4.527 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.02201, allocations: 79.89 kB / 374.7 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.02202, allocations: 16 kB / 374.7 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.644e-05/0.02212, allocations: 31.78 kB / 374.7 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.02215, allocations: 20 kB / 374.8 MB, free: 4.383 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (35): * Single equations (assignments): 35 * 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.0002486/0.02239, allocations: 184.4 kB / 374.9 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.013e-05/0.02248, allocations: 39.75 kB / 375 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000418/0.0229, allocations: 285.7 kB / 375.3 MB, free: 3.836 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.02291, allocations: 3.938 kB / 375.3 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.02291, allocations: 4 kB / 375.3 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.02291, allocations: 0 / 375.3 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005227/0.02344, allocations: 0.6119 MB / 375.9 MB, free: 3.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.02344, allocations: 4.031 kB / 375.9 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.969e-05/0.02349, allocations: 15.94 kB / 375.9 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.02349, allocations: 0 / 375.9 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.0235, allocations: 4 kB / 375.9 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.0235, allocations: 0 / 375.9 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.02351, allocations: 7.938 kB / 375.9 MB, free: 3.117 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.02365, allocations: 166.6 kB / 376.1 MB, free: 2.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.0237, allocations: 39.7 kB / 376.1 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.02373, allocations: 0 / 376.1 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.541e-05/0.02378, allocations: 8 kB / 376.1 MB, free: 2.863 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.252e-05/0.0238, allocations: 15.92 kB / 376.1 MB, free: 2.848 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.02381, allocations: 4 kB / 376.1 MB, free: 2.844 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001854/0.02399, allocations: 283.1 kB / 376.4 MB, free: 2.566 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.02399, allocations: 0 / 376.4 MB, free: 2.566 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004314/0.02443, allocations: 179.3 kB / 376.6 MB, free: 2.391 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (6): * Single equations (assignments): 6 * 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.0004208/0.02485, allocations: 314.4 kB / 376.9 MB, free: 2.074 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002172/0.02506, allocations: 127.8 kB / 377 MB, free: 1.945 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.02507, allocations: 0 / 377 MB, free: 1.945 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.147e-05/0.0251, allocations: 37.17 kB / 377.1 MB, free: 1.906 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.02543, allocations: 83.38 kB / 377.1 MB, free: 1.828 MB / 298.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.02651, allocations: 0.5439 MB / 377.7 MB, free: 1.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.185e-05/0.02656, allocations: 88.3 kB / 377.8 MB, free: 1.125 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001819/0.02674, allocations: 90.31 kB / 377.9 MB, free: 1.039 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.02681, allocations: 44.48 kB / 377.9 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of SimCode: time 1.423e-06/0.02681, allocations: 4 kB / 377.9 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of Templates: time 0.0076/0.03441, allocations: 6.027 MB / 383.9 MB, free: 11.04 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9458949849940836]