Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference.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.001931/0.001931, 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.001974/0.001974, 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.578/1.578, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.348/1.348, allocations: 292.9 MB / 0.5392 GB, free: 49.8 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_Dempsey2013_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.6999 GB, free: 8.539 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.879e-05, allocations: 3.688 kB / 0.6999 GB, free: 8.535 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference): time 0.002591/0.00262, allocations: 1.807 MB / 0.7016 GB, free: 6.711 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008434/0.003463, allocations: 0.5458 MB / 0.7022 GB, free: 6.16 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.349e-05/0.003527, allocations: 7.938 kB / 0.7022 GB, free: 6.152 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.828e-05/0.003625, allocations: 15.84 kB / 0.7022 GB, free: 6.137 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003038/0.003929, allocations: 59.55 kB / 0.7023 GB, free: 6.078 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.004092, allocations: 67.78 kB / 0.7023 GB, free: 6.012 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.004281, allocations: 175.2 kB / 0.7025 GB, free: 5.84 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.645e-05/0.004327, allocations: 5.297 kB / 0.7025 GB, free: 5.836 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.004448, allocations: 87.78 kB / 0.7026 GB, free: 5.75 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000278/0.004726, allocations: 83.77 kB / 0.7027 GB, free: 5.668 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.004752, allocations: 8 kB / 0.7027 GB, free: 5.66 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.144e-05/0.004773, allocations: 8 kB / 0.7027 GB, free: 5.652 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.108e-05/0.004834, allocations: 39.83 kB / 0.7027 GB, free: 5.613 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.73e-05/0.004891, allocations: 35.92 kB / 0.7027 GB, free: 5.578 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.00502, allocations: 99.61 kB / 0.7028 GB, free: 5.48 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.005023, allocations: 4 kB / 0.7028 GB, free: 5.477 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005024, allocations: 0 / 0.7028 GB, free: 5.477 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.005028, allocations: 0 / 0.7028 GB, free: 5.477 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.0007069/0.005735, allocations: 399.5 kB / 0.7032 GB, free: 5.051 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.00577, allocations: 11.89 kB / 0.7032 GB, free: 5.039 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.193e-05/0.005822, allocations: 20.78 kB / 0.7033 GB, free: 5.02 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.005985, allocations: 150.2 kB / 0.7034 GB, free: 4.848 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.006001, allocations: 8.375 kB / 0.7034 GB, free: 4.84 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.006029, allocations: 8.375 kB / 0.7034 GB, free: 4.832 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.00627, allocations: 100.9 kB / 0.7035 GB, free: 4.73 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.006278, allocations: 7.938 kB / 0.7035 GB, free: 4.723 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.006292, allocations: 3.938 kB / 0.7035 GB, free: 4.719 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.006298, allocations: 0 / 0.7035 GB, free: 4.719 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000288/0.006586, allocations: 83.92 kB / 0.7036 GB, free: 4.637 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.006997, allocations: 276.4 kB / 0.7039 GB, free: 4.336 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003816/0.007379, allocations: 138.3 kB / 0.704 GB, free: 4.191 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/0.007623, allocations: 56.81 kB / 0.7041 GB, free: 4.133 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.007643, allocations: 3.938 kB / 0.7041 GB, free: 4.129 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000249/0.007892, allocations: 111.3 kB / 0.7042 GB, free: 4.008 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.007893, allocations: 0 / 0.7042 GB, free: 4.008 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005416/0.008435, allocations: 193.7 kB / 0.7044 GB, free: 3.812 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.008468, allocations: 55.39 kB / 0.7044 GB, free: 3.746 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.008586, allocations: 155.6 kB / 0.7046 GB, free: 3.586 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.008604, allocations: 37.64 kB / 0.7046 GB, free: 3.543 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.179e-05/0.008655, allocations: 100.1 kB / 0.7047 GB, free: 3.441 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.008685, allocations: 43.62 kB / 0.7047 GB, free: 3.398 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-05/0.008747, allocations: 45.7 kB / 0.7048 GB, free: 3.348 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.287e-05/0.0088, allocations: 322.8 kB / 0.7051 GB, free: 3.023 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.008968, allocations: 85.64 kB / 0.7052 GB, free: 2.934 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.009165, allocations: 202.2 kB / 0.7054 GB, free: 2.703 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.009466, allocations: 138.5 kB / 0.7055 GB, free: 2.559 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.009469, allocations: 3.938 kB / 0.7055 GB, free: 2.555 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003848/0.009854, allocations: 240.8 kB / 0.7057 GB, free: 2.301 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.009877, allocations: 41.62 kB / 0.7058 GB, free: 2.254 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.009882, allocations: 0 / 0.7058 GB, free: 2.254 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.009894, allocations: 0 / 0.7058 GB, free: 2.254 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.01005, allocations: 23.98 kB / 0.7058 GB, free: 2.23 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.01006, allocations: 0 / 0.7058 GB, free: 2.23 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.01022, allocations: 23.92 kB / 0.7058 GB, free: 2.207 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.01023, allocations: 4 kB / 0.7058 GB, free: 2.203 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 9.527e-05/0.01033, allocations: 130.4 kB / 0.7059 GB, free: 2.066 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.01035, allocations: 19.91 kB / 0.7059 GB, free: 2.047 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003763/0.01073, allocations: 169 kB / 0.7061 GB, free: 1.883 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.01073, allocations: 0 / 0.7061 GB, free: 1.883 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.01073, allocations: 3.938 kB / 0.7061 GB, free: 1.879 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.01073, allocations: 0 / 0.7061 GB, free: 1.879 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.01084, allocations: 149.2 kB / 0.7063 GB, free: 1.703 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01084, allocations: 4.156 kB / 0.7063 GB, free: 1.699 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.011, allocations: 27.98 kB / 0.7063 GB, free: 1.672 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.011, allocations: 7.938 kB / 0.7063 GB, free: 1.664 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.01101, allocations: 4 kB / 0.7063 GB, free: 1.66 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.01102, allocations: 3.938 kB / 0.7063 GB, free: 1.656 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.01102, allocations: 0 / 0.7063 GB, free: 1.656 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000506/0.01152, allocations: 244.9 kB / 0.7065 GB, free: 1.398 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.139e-05/0.01154, allocations: 23.81 kB / 0.7066 GB, free: 1.375 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.01157, allocations: 8 kB / 0.7066 GB, free: 1.367 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.01171, allocations: 11.98 kB / 0.7066 GB, free: 1.355 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.406e-05/0.01177, allocations: 24.06 kB / 0.7066 GB, free: 1.332 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.01178, allocations: 0 / 0.7066 GB, free: 1.332 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.241e-05/0.01185, allocations: 125.3 kB / 0.7067 GB, free: 1.211 MB / 410.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01185, allocations: 0 / 0.7067 GB, free: 1.211 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002156/0.01207, allocations: 32 kB / 0.7067 GB, free: 1.18 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.0001182/0.01219, allocations: 112.4 kB / 0.7069 GB, free: 1.059 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003899/0.01258, allocations: 207.8 kB / 0.7071 GB, free: 0.8398 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.01258, allocations: 4 kB / 0.7071 GB, free: 0.8359 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.01274, allocations: 63.89 kB / 0.7071 GB, free: 0.7734 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.01303, allocations: 43.83 kB / 0.7072 GB, free: 0.7305 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006132/0.01364, allocations: 317.1 kB / 0.7075 GB, free: 408 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.45e-05/0.01369, allocations: 89.81 kB / 0.7075 GB, free: 300 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.085e-05/0.01377, allocations: 29.47 kB / 0.7076 GB, free: 268 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.705e-05/0.01383, allocations: 16.5 kB / 0.7076 GB, free: 252 kB / 410.8 MB Notification: Performance of SimCode: time 2.91e-07/0.01383, allocations: 0 / 0.7076 GB, free: 252 kB / 410.8 MB Notification: Performance of Templates: time 0.006615/0.02045, allocations: 2.492 MB / 0.71 GB, free: 13.86 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.710074685048312]