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.0007055/0.0007055, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009343/0.00164, allocations: 435.8 kB / 10.31 MB, free: 384 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.000699/0.000699, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009147/0.001614, allocations: 463.6 kB / 11.65 MB, free: 2.516 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 0.99/0.99, allocations: 177.1 MB / 189.5 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09002/1.08, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.7865/0.7865, allocations: 291.2 MB / 0.5226 GB, free: 52.48 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03069/0.8172, allocations: 21.05 MB / 0.5431 GB, free: 31.48 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.493e-06/1.493e-06, allocations: 0 / 0.5445 GB, free: 30.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.138e-05/1.288e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference): time 0.001635/0.001648, allocations: 1.941 MB / 0.5464 GB, free: 28.15 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006151/0.002263, allocations: 0.5715 MB / 0.5469 GB, free: 27.58 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.947e-05/0.002312, allocations: 0 / 0.5469 GB, free: 27.58 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.87e-05/0.002361, allocations: 11.86 kB / 0.547 GB, free: 27.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001969/0.002558, allocations: 71.48 kB / 0.547 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001119/0.00267, allocations: 59.83 kB / 0.5471 GB, free: 27.44 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.002825, allocations: 176 kB / 0.5472 GB, free: 27.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.797e-05/0.002863, allocations: 9.906 kB / 0.5473 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.002994, allocations: 114.7 kB / 0.5474 GB, free: 27.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.003163, allocations: 79.77 kB / 0.5474 GB, free: 27.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.003183, allocations: 4 kB / 0.5474 GB, free: 27.06 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.927e-05/0.003202, allocations: 8 kB / 0.5475 GB, free: 27.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.003245, allocations: 23.94 kB / 0.5475 GB, free: 27.03 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/0.003285, allocations: 27.94 kB / 0.5475 GB, free: 27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.003391, allocations: 75.73 kB / 0.5476 GB, free: 26.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.122e-05/0.003402, allocations: 3.938 kB / 0.5476 GB, free: 26.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.42e-07/0.003403, allocations: 0 / 0.5476 GB, free: 26.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.003411, allocations: 7.938 kB / 0.5476 GB, free: 26.92 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.0005511/0.003962, allocations: 388.1 kB / 0.548 GB, free: 26.51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.003993, allocations: 15.89 kB / 0.548 GB, free: 26.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.004033, allocations: 12.92 kB / 0.548 GB, free: 26.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.004167, allocations: 150.8 kB / 0.5481 GB, free: 26.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.004186, allocations: 8.375 kB / 0.5481 GB, free: 26.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.004205, allocations: 4.375 kB / 0.5481 GB, free: 26.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.004329, allocations: 77.02 kB / 0.5482 GB, free: 26.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.004337, allocations: 11.92 kB / 0.5482 GB, free: 26.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.004347, allocations: 7.938 kB / 0.5482 GB, free: 26.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.00435, allocations: 0 / 0.5482 GB, free: 26.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.471e-05/0.004395, allocations: 23.98 kB / 0.5483 GB, free: 26.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002446/0.00464, allocations: 205.9 kB / 0.5485 GB, free: 25.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.00474, allocations: 110.9 kB / 0.5486 GB, free: 25.83 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.669e-05/0.004766, allocations: 12.86 kB / 0.5486 GB, free: 25.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.004781, allocations: 7.984 kB / 0.5486 GB, free: 25.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001005/0.004882, allocations: 97.98 kB / 0.5487 GB, free: 25.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.153e-06/0.004883, allocations: 0 / 0.5487 GB, free: 25.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001324/0.005016, allocations: 85.66 kB / 0.5488 GB, free: 25.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.147e-05/0.005037, allocations: 55.41 kB / 0.5488 GB, free: 25.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.955e-05/0.005097, allocations: 146.6 kB / 0.5489 GB, free: 25.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.005109, allocations: 37.64 kB / 0.549 GB, free: 25.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.909e-05/0.005138, allocations: 96.06 kB / 0.5491 GB, free: 25.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.005159, allocations: 43.61 kB / 0.5491 GB, free: 25.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.005197, allocations: 45.86 kB / 0.5492 GB, free: 25.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.312e-05/0.005231, allocations: 322.8 kB / 0.5495 GB, free: 24.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.422e-05/0.005265, allocations: 56.45 kB / 0.5495 GB, free: 24.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.754e-05/0.005312, allocations: 154.1 kB / 0.5497 GB, free: 24.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.462e-05/0.005367, allocations: 80.28 kB / 0.5497 GB, free: 24.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.005369, allocations: 4 kB / 0.5497 GB, free: 24.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 8.751e-05/0.005456, allocations: 150.6 kB / 0.5499 GB, free: 24.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.005486, allocations: 33.7 kB / 0.5499 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.00549, allocations: 0 / 0.5499 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.005498, allocations: 3.375 kB / 0.5499 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.81e-05/0.005596, allocations: 31.97 kB / 0.55 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.0056, allocations: 8 kB / 0.55 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.464e-05/0.005665, allocations: 12 kB / 0.55 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.005671, allocations: 3.984 kB / 0.55 GB, free: 24.23 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.339e-05/0.005725, allocations: 120.6 kB / 0.5501 GB, free: 24.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.005738, allocations: 19.92 kB / 0.5501 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.592e-05/0.005834, allocations: 94.42 kB / 0.5502 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.005836, allocations: 0 / 0.5502 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.005838, allocations: 0 / 0.5502 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.005842, allocations: 4 kB / 0.5502 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.914e-05/0.005911, allocations: 101.8 kB / 0.5503 GB, free: 23.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.005912, allocations: 0 / 0.5503 GB, free: 23.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.978e-05/0.005982, allocations: 27.98 kB / 0.5503 GB, free: 23.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.271e-05/0.005994, allocations: 7.953 kB / 0.5503 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.005996, allocations: 7.875 kB / 0.5503 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.006005, allocations: 0 / 0.5503 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.006007, allocations: 7.984 kB / 0.5504 GB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.006008, allocations: 0 / 0.5504 GB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.006133, allocations: 134.7 kB / 0.5505 GB, free: 23.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.00615, allocations: 7.938 kB / 0.5505 GB, free: 23.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.469e-05/0.006195, allocations: 16.02 kB / 0.5505 GB, free: 23.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.006229, allocations: 11.97 kB / 0.5505 GB, free: 23.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.006235, allocations: 4 kB / 0.5505 GB, free: 23.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.658e-05/0.006262, allocations: 43.12 kB / 0.5506 GB, free: 23.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006262, allocations: 0 / 0.5506 GB, free: 23.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001084/0.00637, allocations: 32 kB / 0.5506 GB, free: 23.54 MB / 410.7 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 5.666e-05/0.006427, allocations: 84.34 kB / 0.5507 GB, free: 23.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001165/0.006543, allocations: 142.7 kB / 0.5508 GB, free: 23.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.006546, allocations: 7.938 kB / 0.5508 GB, free: 23.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.07e-05/0.006587, allocations: 44.77 kB / 0.5509 GB, free: 23.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.006728, allocations: 54.06 kB / 0.5509 GB, free: 23.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/0.00915, allocations: 374.1 kB / 0.5513 GB, free: 22.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.278e-05/0.009173, allocations: 67.84 kB / 0.5513 GB, free: 22.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.034e-05/0.009224, allocations: 13.48 kB / 0.5513 GB, free: 22.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.801e-05/0.009322, allocations: 87.34 kB / 0.5514 GB, free: 22.61 MB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/0.009322, allocations: 8 kB / 0.5514 GB, free: 22.61 MB / 410.7 MB Notification: Performance of Templates: time 0.003512/0.01283, allocations: 2.731 MB / 0.5541 GB, free: 19.94 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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone_Torne2007_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1241687266156077]