Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine.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.001918/0.001918, allocations: 84.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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.002098/0.002098, allocations: 169.9 kB / 22.46 MB, free: 2.102 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 1.676/1.676, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 1.337/1.337, allocations: 292.9 MB / 0.5392 GB, free: 50.19 MB / 410.7 MB " [Timeout remaining time 178] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/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(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.6999 GB, free: 8.508 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.954e-05/3.09e-05, allocations: 3.688 kB / 0.6999 GB, free: 8.504 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine): time 0.00254/0.002571, allocations: 1.834 MB / 0.7017 GB, free: 6.652 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009269/0.003498, allocations: 0.5538 MB / 0.7022 GB, free: 6.094 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.25e-05/0.003561, allocations: 0 / 0.7022 GB, free: 6.094 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.947e-05/0.00366, allocations: 15.86 kB / 0.7022 GB, free: 6.078 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003553/0.004016, allocations: 67.53 kB / 0.7023 GB, free: 6.012 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001603/0.004176, allocations: 59.84 kB / 0.7024 GB, free: 5.953 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.004366, allocations: 171.2 kB / 0.7025 GB, free: 5.785 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.728e-05/0.004414, allocations: 5.312 kB / 0.7025 GB, free: 5.781 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.004553, allocations: 95.72 kB / 0.7026 GB, free: 5.688 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.004774, allocations: 79.81 kB / 0.7027 GB, free: 5.609 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.004805, allocations: 4 kB / 0.7027 GB, free: 5.605 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.346e-05/0.004828, allocations: 8 kB / 0.7027 GB, free: 5.598 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.648e-05/0.004884, allocations: 35.84 kB / 0.7027 GB, free: 5.562 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.348e-05/0.004948, allocations: 39.91 kB / 0.7028 GB, free: 5.523 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.005096, allocations: 111.6 kB / 0.7029 GB, free: 5.414 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.005098, allocations: 0 / 0.7029 GB, free: 5.414 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005099, allocations: 0 / 0.7029 GB, free: 5.414 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.005104, allocations: 0 / 0.7029 GB, free: 5.414 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000737/0.005841, allocations: 391.5 kB / 0.7033 GB, free: 4.996 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.005877, allocations: 16.03 kB / 0.7033 GB, free: 4.98 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.597e-05/0.005933, allocations: 12.84 kB / 0.7033 GB, free: 4.969 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.006105, allocations: 146.1 kB / 0.7034 GB, free: 4.801 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.006122, allocations: 8.375 kB / 0.7034 GB, free: 4.793 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.429e-05/0.006156, allocations: 8.375 kB / 0.7034 GB, free: 4.785 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.006405, allocations: 101.9 kB / 0.7035 GB, free: 4.684 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.006417, allocations: 3.938 kB / 0.7036 GB, free: 4.68 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.006432, allocations: 0 / 0.7036 GB, free: 4.68 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.006438, allocations: 4 kB / 0.7036 GB, free: 4.676 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002716/0.006709, allocations: 83.92 kB / 0.7036 GB, free: 4.594 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004478/0.007157, allocations: 284.3 kB / 0.7039 GB, free: 4.285 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003651/0.007522, allocations: 138.3 kB / 0.704 GB, free: 4.141 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.007665, allocations: 52.81 kB / 0.7041 GB, free: 4.086 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.007684, allocations: 4 kB / 0.7041 GB, free: 4.082 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002525/0.007937, allocations: 107.3 kB / 0.7042 GB, free: 3.965 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.007938, allocations: 4 kB / 0.7042 GB, free: 3.961 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005654/0.008504, allocations: 201.6 kB / 0.7044 GB, free: 3.758 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.008535, allocations: 51.41 kB / 0.7044 GB, free: 3.695 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.00866, allocations: 159.6 kB / 0.7046 GB, free: 3.531 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.008678, allocations: 25.7 kB / 0.7046 GB, free: 3.5 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.695e-05/0.008735, allocations: 104.1 kB / 0.7047 GB, free: 3.395 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.008766, allocations: 43.64 kB / 0.7048 GB, free: 3.352 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.58e-05/0.008842, allocations: 37.7 kB / 0.7048 GB, free: 3.309 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.853e-05/0.0089, allocations: 326.8 kB / 0.7051 GB, free: 2.98 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.009069, allocations: 81.66 kB / 0.7052 GB, free: 2.895 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.009273, allocations: 206.1 kB / 0.7054 GB, free: 2.656 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.009552, allocations: 146.6 kB / 0.7055 GB, free: 2.508 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.009556, allocations: 3.938 kB / 0.7055 GB, free: 2.504 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003795/0.009935, allocations: 244.8 kB / 0.7058 GB, free: 2.246 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.009963, allocations: 29.7 kB / 0.7058 GB, free: 2.211 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.009968, allocations: 0 / 0.7058 GB, free: 2.211 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.009984, allocations: 4 kB / 0.7058 GB, free: 2.207 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.01015, allocations: 31.92 kB / 0.7058 GB, free: 2.176 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.01015, allocations: 0 / 0.7058 GB, free: 2.176 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.01033, allocations: 15.92 kB / 0.7058 GB, free: 2.16 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.01034, allocations: 7.984 kB / 0.7058 GB, free: 2.152 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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 8.205e-05/0.01043, allocations: 130.4 kB / 0.706 GB, free: 2.016 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.022e-05/0.01045, allocations: 15.91 kB / 0.706 GB, free: 2 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000391/0.01084, allocations: 170.3 kB / 0.7061 GB, free: 1.832 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.01084, allocations: 4 kB / 0.7061 GB, free: 1.828 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.01084, allocations: 224 / 0.7061 GB, free: 1.828 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.01085, allocations: 0 / 0.7061 GB, free: 1.828 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.01097, allocations: 157.2 kB / 0.7063 GB, free: 1.645 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01097, allocations: 3.938 kB / 0.7063 GB, free: 1.641 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.01113, allocations: 23.98 kB / 0.7063 GB, free: 1.617 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.01113, allocations: 4 kB / 0.7063 GB, free: 1.613 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.01115, allocations: 0 / 0.7063 GB, free: 1.613 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.01115, allocations: 4 kB / 0.7063 GB, free: 1.609 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.01115, allocations: 4 kB / 0.7063 GB, free: 1.605 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005144/0.01167, allocations: 257 kB / 0.7066 GB, free: 1.34 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.859e-05/0.0117, allocations: 19.81 kB / 0.7066 GB, free: 1.32 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.01173, allocations: 0 / 0.7066 GB, free: 1.32 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.01186, allocations: 15.98 kB / 0.7066 GB, free: 1.305 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.433e-05/0.01192, allocations: 16.03 kB / 0.7066 GB, free: 1.289 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.01193, allocations: 8 kB / 0.7066 GB, free: 1.281 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.995e-05/0.01201, allocations: 125.8 kB / 0.7068 GB, free: 1.16 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01201, allocations: 0 / 0.7068 GB, free: 1.16 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002171/0.01223, allocations: 35.98 kB / 0.7068 GB, free: 1.125 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q[1],qAbsorbed) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001139/0.01235, allocations: 95.25 kB / 0.7069 GB, free: 1.02 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004043/0.01275, allocations: 212.9 kB / 0.7071 GB, free: 0.793 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.01275, allocations: 4 kB / 0.7071 GB, free: 0.7891 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.01292, allocations: 67.89 kB / 0.7072 GB, free: 0.7227 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.01322, allocations: 35.89 kB / 0.7072 GB, free: 0.6875 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006214/0.01384, allocations: 313.5 kB / 0.7075 GB, free: 364 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.881e-05/0.0139, allocations: 97.75 kB / 0.7076 GB, free: 248 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.512e-05/0.01399, allocations: 29.5 kB / 0.7076 GB, free: 216 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.927e-05/0.01405, allocations: 16.5 kB / 0.7076 GB, free: 200 kB / 410.8 MB Notification: Performance of SimCode: time 8.32e-07/0.01405, allocations: 0 / 0.7076 GB, free: 200 kB / 410.8 MB Notification: Performance of Templates: time 0.006766/0.02081, allocations: 2.486 MB / 0.7101 GB, free: 13.78 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.678975280141458]