Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_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.001236/0.001236, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002001/0.003237, allocations: 443.9 kB / 10.36 MB, free: 332 kB / 10.45 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.001164/0.001164, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001501/0.002665, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.044/1.044, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1011/1.145, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] 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 0.8065/0.8065, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04128/0.8478, allocations: 21.05 MB / 0.5432 GB, free: 31.95 MB / 410.7 MB " [Timeout remaining time 179] 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.Testosterone.Testosterone_Torne2007_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.5446 GB, free: 30.56 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.698e-05/1.835e-05, allocations: 10.25 kB / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference): time 0.003045/0.003063, allocations: 1.947 MB / 0.5465 GB, free: 28.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005909/0.003654, allocations: 0.5729 MB / 0.547 GB, free: 28.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.256e-05/0.003687, allocations: 0 / 0.547 GB, free: 28.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.502e-05/0.003722, allocations: 15.8 kB / 0.547 GB, free: 28 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.003893, allocations: 63.53 kB / 0.5471 GB, free: 27.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.00404, allocations: 75.77 kB / 0.5472 GB, free: 27.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.004164, allocations: 160 kB / 0.5473 GB, free: 27.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.7e-05/0.004191, allocations: 5.969 kB / 0.5473 GB, free: 27.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.004296, allocations: 115.7 kB / 0.5474 GB, free: 27.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.004442, allocations: 79.81 kB / 0.5475 GB, free: 27.51 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.004461, allocations: 8 kB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.457e-05/0.004475, allocations: 4 kB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.256e-05/0.004508, allocations: 31.81 kB / 0.5476 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.59e-05/0.004544, allocations: 31.94 kB / 0.5476 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.527e-05/0.004629, allocations: 75.75 kB / 0.5477 GB, free: 27.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.004636, allocations: 0 / 0.5477 GB, free: 27.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.004637, allocations: 0 / 0.5477 GB, free: 27.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.004646, allocations: 0 / 0.5477 GB, free: 27.36 MB / 410.7 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.0004269/0.005072, allocations: 384.1 kB / 0.548 GB, free: 26.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.784e-05/0.0051, allocations: 15.89 kB / 0.5481 GB, free: 26.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.195e-05/0.005132, allocations: 12.92 kB / 0.5481 GB, free: 26.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.005241, allocations: 162.8 kB / 0.5482 GB, free: 26.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.005254, allocations: 8.375 kB / 0.5482 GB, free: 26.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.005272, allocations: 8.359 kB / 0.5482 GB, free: 26.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.00538, allocations: 77.02 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.005387, allocations: 7.938 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.005395, allocations: 0 / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.005399, allocations: 0 / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.048e-05/0.005439, allocations: 23.98 kB / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002205/0.00566, allocations: 197.9 kB / 0.5485 GB, free: 26.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.878e-05/0.005758, allocations: 126.8 kB / 0.5486 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.656e-05/0.005785, allocations: 20.84 kB / 0.5487 GB, free: 26.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.005798, allocations: 0 / 0.5487 GB, free: 26.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001081/0.005906, allocations: 90.23 kB / 0.5488 GB, free: 26.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.005907, allocations: 0 / 0.5488 GB, free: 26.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001298/0.006037, allocations: 89.59 kB / 0.5488 GB, free: 26.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.411e-05/0.006051, allocations: 59.39 kB / 0.5489 GB, free: 25.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.884e-05/0.00611, allocations: 142.6 kB / 0.549 GB, free: 25.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.006122, allocations: 37.7 kB / 0.5491 GB, free: 25.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.875e-05/0.00615, allocations: 96.06 kB / 0.5492 GB, free: 25.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.006174, allocations: 43.61 kB / 0.5492 GB, free: 25.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.006215, allocations: 41.66 kB / 0.5492 GB, free: 25.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.859e-05/0.006253, allocations: 326.8 kB / 0.5496 GB, free: 25.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.355e-05/0.006287, allocations: 44.52 kB / 0.5496 GB, free: 25.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.142e-05/0.006338, allocations: 158.1 kB / 0.5497 GB, free: 25.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.745e-05/0.006396, allocations: 90.75 kB / 0.5498 GB, free: 24.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.006397, allocations: 0 / 0.5498 GB, free: 24.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 9.299e-05/0.00649, allocations: 143.8 kB / 0.55 GB, free: 24.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.006516, allocations: 41.69 kB / 0.55 GB, free: 24.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.00652, allocations: 0 / 0.55 GB, free: 24.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.006528, allocations: 0 / 0.55 GB, free: 24.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.006635, allocations: 31.98 kB / 0.55 GB, free: 24.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.006639, allocations: 3.938 kB / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.816e-05/0.006707, allocations: 15.98 kB / 0.5501 GB, free: 24.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.006716, allocations: 4 kB / 0.5501 GB, free: 24.66 MB / 410.7 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 5.052e-05/0.006766, allocations: 120.6 kB / 0.5502 GB, free: 24.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.838e-05/0.006785, allocations: 15.92 kB / 0.5502 GB, free: 24.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.006889, allocations: 98.42 kB / 0.5503 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.006893, allocations: 0 / 0.5503 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.006895, allocations: 7.188 kB / 0.5503 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.523e-05/0.00691, allocations: 16.06 kB / 0.5503 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.006921, allocations: 4 kB / 0.5503 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.006939, allocations: 11.92 kB / 0.5503 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.71e-05/0.006986, allocations: 4 kB / 0.5503 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.007021, allocations: 19.97 kB / 0.5503 GB, free: 24.36 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001347/0.007155, allocations: 212.8 kB / 0.5506 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001367/0.007292, allocations: 325 kB / 0.5509 GB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.803e-05/0.00733, allocations: 40.95 kB / 0.5509 GB, free: 23.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.6e-05/0.007356, allocations: 43.12 kB / 0.5509 GB, free: 23.72 MB / 410.7 MB Notification: Performance of Backend: time 1.4e-07/0.007356, allocations: 0 / 0.5509 GB, free: 23.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002133/0.00757, allocations: 201.5 kB / 0.5511 GB, free: 23.5 MB / 410.7 MB Notification: Performance of SimCode: time 0.002519/0.01009, allocations: 0.8826 MB / 0.552 GB, free: 22.57 MB / 410.7 MB Notification: Performance of Templates: time 0.00378/0.01387, allocations: 2.959 MB / 0.5549 GB, free: 19.68 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4061544463038445]