Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tyramine.Tyramine_Rafehi2019_4_hpaa.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.002319/0.002319, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.002676/0.002676, allocations: 219.6 kB / 22.25 MB, free: 3.559 MB / 13.93 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.715/1.715, allocations: 230.6 MB / 256 MB, free: 9.578 MB / 202.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.408/1.408, allocations: 316.7 MB / 0.6144 GB, free: 93.04 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.Tyramine.Tyramine_Rafehi2019_4_hpaa,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tyramine.Tyramine_Rafehi2019_4_hpaa") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tyramine.Tyramine_Rafehi2019_4_hpaa,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tyramine.Tyramine_Rafehi2019_4_hpaa") [Timeout 660] "Notification: Pharmacolibrary 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.01169/0.01169, allocations: 73.66 kB / 0.775 GB, free: 14.71 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1973, allocations: 73.99 MB / 0.8472 GB, free: 4.848 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tyramine.Tyramine_Rafehi2019_4_hpaa): time 0.003607/0.2009, allocations: 1.819 MB / 0.849 GB, free: 3.031 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.2022, allocations: 0.5419 MB / 0.8495 GB, free: 2.488 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.028e-05/0.2023, allocations: 0.7188 kB / 0.8495 GB, free: 2.488 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.2024, allocations: 15.86 kB / 0.8496 GB, free: 2.473 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003971/0.2028, allocations: 65.22 kB / 0.8496 GB, free: 2.41 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.203, allocations: 61.5 kB / 0.8497 GB, free: 2.352 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002803/0.2033, allocations: 167.8 kB / 0.8498 GB, free: 2.188 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.632e-05/0.2034, allocations: 5.938 kB / 0.8498 GB, free: 2.184 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.2035, allocations: 71.75 kB / 0.8499 GB, free: 2.113 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002992/0.2038, allocations: 88.2 kB / 0.85 GB, free: 2.027 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.2038, allocations: 8.625 kB / 0.85 GB, free: 2.02 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.323e-05/0.2039, allocations: 8 kB / 0.85 GB, free: 2.012 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.923e-05/0.2039, allocations: 28.5 kB / 0.85 GB, free: 1.984 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.204, allocations: 51.78 kB / 0.8501 GB, free: 1.934 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.2042, allocations: 104.1 kB / 0.8502 GB, free: 1.832 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2042, allocations: 0.625 kB / 0.8502 GB, free: 1.832 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2042, allocations: 0 / 0.8502 GB, free: 1.832 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.2042, allocations: 0.625 kB / 0.8502 GB, free: 1.832 MB / 474.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.00103/0.2053, allocations: 389.5 kB / 0.8506 GB, free: 1.418 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.2053, allocations: 11.89 kB / 0.8506 GB, free: 1.406 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.56e-05/0.2054, allocations: 16.84 kB / 0.8506 GB, free: 1.391 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.2057, allocations: 147.5 kB / 0.8507 GB, free: 1.223 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.2057, allocations: 9 kB / 0.8507 GB, free: 1.215 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.469e-05/0.2058, allocations: 12.12 kB / 0.8507 GB, free: 1.203 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.2061, allocations: 106.1 kB / 0.8508 GB, free: 1.098 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.2061, allocations: 0.7812 kB / 0.8509 GB, free: 1.098 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.2061, allocations: 0 / 0.8509 GB, free: 1.098 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.2061, allocations: 5.219 kB / 0.8509 GB, free: 1.094 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002929/0.2064, allocations: 79.92 kB / 0.8509 GB, free: 1.016 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005799/0.207, allocations: 289.2 kB / 0.8512 GB, free: 0.7031 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005736/0.2076, allocations: 135 kB / 0.8513 GB, free: 0.5625 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.2077, allocations: 50.62 kB / 0.8514 GB, free: 0.5117 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.2077, allocations: 3.984 kB / 0.8514 GB, free: 0.5078 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003005/0.208, allocations: 111.3 kB / 0.8515 GB, free: 396 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.208, allocations: 6.344 kB / 0.8515 GB, free: 392 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006274/0.2087, allocations: 201.6 kB / 0.8517 GB, free: 184 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.2087, allocations: 55.41 kB / 0.8517 GB, free: 116 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.2089, allocations: 157.2 kB / 0.8519 GB, free: 15.95 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.209, allocations: 29.7 kB / 0.8519 GB, free: 15.91 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.151e-05/0.2091, allocations: 104.9 kB / 0.852 GB, free: 15.81 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.809e-05/0.2091, allocations: 47.64 kB / 0.8521 GB, free: 15.76 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.156e-05/0.2092, allocations: 35.86 kB / 0.8521 GB, free: 15.72 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.2094, allocations: 330.8 kB / 0.8524 GB, free: 15.39 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.2096, allocations: 81.66 kB / 0.8525 GB, free: 15.3 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/0.2099, allocations: 198.1 kB / 0.8527 GB, free: 15.07 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003395/0.2102, allocations: 145.5 kB / 0.8528 GB, free: 14.93 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2102, allocations: 1.094 kB / 0.8528 GB, free: 14.93 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004947/0.2107, allocations: 241.3 kB / 0.8531 GB, free: 14.67 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.526e-05/0.2108, allocations: 32.95 kB / 0.8531 GB, free: 14.64 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2108, allocations: 0 / 0.8531 GB, free: 14.64 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.2108, allocations: 0.625 kB / 0.8531 GB, free: 14.64 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.211, allocations: 40.59 kB / 0.8531 GB, free: 14.6 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.211, allocations: 0 / 0.8531 GB, free: 14.6 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.2111, allocations: 20.56 kB / 0.8531 GB, free: 14.58 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.2112, allocations: 12.56 kB / 0.8532 GB, free: 14.57 MB / 490.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 0.0001309/0.2113, allocations: 122.3 kB / 0.8533 GB, free: 14.44 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.2113, allocations: 8.641 kB / 0.8533 GB, free: 14.43 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004744/0.2118, allocations: 175.5 kB / 0.8534 GB, free: 14.25 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.2118, allocations: 4 kB / 0.8535 GB, free: 14.25 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2118, allocations: 0.625 kB / 0.8535 GB, free: 14.25 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.2118, allocations: 3.984 kB / 0.8535 GB, free: 14.25 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.212, allocations: 153.8 kB / 0.8536 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.212, allocations: 224 / 0.8536 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.2122, allocations: 24.58 kB / 0.8536 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.85e-06/0.2122, allocations: 8.562 kB / 0.8536 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.2122, allocations: 7.984 kB / 0.8536 GB, free: 14.03 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2122, allocations: 0.5625 kB / 0.8536 GB, free: 14.03 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2122, allocations: 0.7188 kB / 0.8536 GB, free: 14.03 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006257/0.2128, allocations: 252.8 kB / 0.8539 GB, free: 13.77 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.817e-05/0.2129, allocations: 12.52 kB / 0.8539 GB, free: 13.76 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.2129, allocations: 11.98 kB / 0.8539 GB, free: 13.75 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.213, allocations: 12.55 kB / 0.8539 GB, free: 13.73 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.406e-05/0.2131, allocations: 12.61 kB / 0.8539 GB, free: 13.72 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.2131, allocations: 8.516 kB / 0.8539 GB, free: 13.71 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000127/0.2132, allocations: 122.1 kB / 0.8541 GB, free: 13.6 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.2132, allocations: 0.5625 kB / 0.8541 GB, free: 13.6 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002153/0.2135, allocations: 32.62 kB / 0.8541 GB, free: 13.57 MB / 490.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.0001726/0.2136, allocations: 99.81 kB / 0.8542 GB, free: 13.46 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000499/0.2141, allocations: 214 kB / 0.8544 GB, free: 13.23 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2141, allocations: 4.75 kB / 0.8544 GB, free: 13.23 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.2143, allocations: 60.67 kB / 0.8545 GB, free: 13.17 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.2146, allocations: 37.56 kB / 0.8545 GB, free: 13.14 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008085/0.2155, allocations: 331.8 kB / 0.8548 GB, free: 12.79 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.2156, allocations: 106 kB / 0.8549 GB, free: 12.66 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.2157, allocations: 24.23 kB / 0.8549 GB, free: 12.64 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.607e-05/0.2157, allocations: 16.16 kB / 0.8549 GB, free: 12.63 MB / 490.8 MB Notification: Performance of SimCode: time 6.21e-07/0.2157, allocations: 0 / 0.8549 GB, free: 12.63 MB / 490.8 MB Notification: Performance of Templates: time 0.309/0.5247, allocations: 2.625 MB / 0.8575 GB, free: 28.18 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tyramine.Tyramine_Rafehi2019_4_hpaa.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tyramine.Tyramine_Rafehi2019_4_hpaa.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tyramine.Tyramine_Rafehi2019_4_hpaa.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tyramine.Tyramine_Rafehi2019_4_hpaa.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tyramine.Tyramine_Rafehi2019_4_hpaa.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tyramine.Tyramine_Rafehi2019_4_hpaa -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tyramine.Tyramine_Rafehi2019_4_hpaa.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.506727680098265]