Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone.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.0007396/0.0007396, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001003/0.001743, 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.0007029/0.0007029, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009388/0.001642, 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.027/1.027, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08985/1.117, allocations: 53.67 MB / 243.3 MB, free: 15.59 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.7676/0.7676, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03012/0.7978, allocations: 21.05 MB / 0.5432 GB, free: 31.96 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.5446 GB, free: 30.54 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09e-05/1.265e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone): time 0.002409/0.002422, allocations: 1.974 MB / 0.5465 GB, free: 28.56 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008704/0.003292, allocations: 0.5653 MB / 0.5471 GB, free: 27.99 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.63e-05/0.003358, allocations: 3.938 kB / 0.5471 GB, free: 27.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.111e-05/0.00341, allocations: 15.92 kB / 0.5471 GB, free: 27.97 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.003672, allocations: 75.41 kB / 0.5471 GB, free: 27.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.003849, allocations: 59.83 kB / 0.5472 GB, free: 27.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.004067, allocations: 168 kB / 0.5474 GB, free: 27.67 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.182e-05/0.004119, allocations: 9.953 kB / 0.5474 GB, free: 27.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.004303, allocations: 119.7 kB / 0.5475 GB, free: 27.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.004506, allocations: 71.78 kB / 0.5476 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.00453, allocations: 8 kB / 0.5476 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.091e-05/0.004551, allocations: 8 kB / 0.5476 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.767e-05/0.004599, allocations: 23.92 kB / 0.5476 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.183e-05/0.004651, allocations: 31.94 kB / 0.5476 GB, free: 27.4 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.004786, allocations: 71.75 kB / 0.5477 GB, free: 27.33 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.188e-05/0.004798, allocations: 3.938 kB / 0.5477 GB, free: 27.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004798, allocations: 4 kB / 0.5477 GB, free: 27.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.004813, allocations: 0 / 0.5477 GB, free: 27.32 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.0005901/0.005403, allocations: 384.2 kB / 0.5481 GB, free: 26.92 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.005437, allocations: 11.89 kB / 0.5481 GB, free: 26.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.722e-05/0.005484, allocations: 12.92 kB / 0.5481 GB, free: 26.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.005636, allocations: 169.8 kB / 0.5483 GB, free: 26.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.005654, allocations: 4.375 kB / 0.5483 GB, free: 26.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.005681, allocations: 12.38 kB / 0.5483 GB, free: 26.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.00583, allocations: 77.02 kB / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.005838, allocations: 3.938 kB / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.005848, allocations: 0 / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.005854, allocations: 0 / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.649e-05/0.00591, allocations: 27.92 kB / 0.5484 GB, free: 26.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000286/0.006196, allocations: 193.9 kB / 0.5486 GB, free: 26.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.006332, allocations: 113.6 kB / 0.5487 GB, free: 26.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.908e-05/0.006371, allocations: 28.84 kB / 0.5487 GB, free: 26.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.006388, allocations: 4 kB / 0.5487 GB, free: 26.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001439/0.006532, allocations: 94.16 kB / 0.5488 GB, free: 26.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.006534, allocations: 0 / 0.5488 GB, free: 26.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001868/0.00672, allocations: 85.66 kB / 0.5489 GB, free: 26.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.006741, allocations: 55.41 kB / 0.5489 GB, free: 25.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.898e-05/0.00683, allocations: 150.6 kB / 0.5491 GB, free: 25.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.006846, allocations: 25.7 kB / 0.5491 GB, free: 25.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.006883, allocations: 96.28 kB / 0.5492 GB, free: 25.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.006922, allocations: 47.61 kB / 0.5492 GB, free: 25.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-05/0.006979, allocations: 49.58 kB / 0.5493 GB, free: 25.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.057e-05/0.007019, allocations: 322.8 kB / 0.5496 GB, free: 25.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.827e-05/0.007068, allocations: 51.64 kB / 0.5496 GB, free: 25.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.132e-05/0.007139, allocations: 161.2 kB / 0.5498 GB, free: 24.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.931e-05/0.007198, allocations: 84.16 kB / 0.5499 GB, free: 24.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.007201, allocations: 0 / 0.5499 GB, free: 24.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001004/0.007301, allocations: 151 kB / 0.55 GB, free: 24.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/0.007333, allocations: 33.69 kB / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.007338, allocations: 0 / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.007353, allocations: 4 kB / 0.55 GB, free: 24.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.007465, allocations: 39.92 kB / 0.5501 GB, free: 24.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.007469, allocations: 0 / 0.5501 GB, free: 24.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.636e-05/0.007535, allocations: 11.98 kB / 0.5501 GB, free: 24.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.007545, allocations: 4 kB / 0.5501 GB, free: 24.64 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.176e-05/0.007597, allocations: 120.7 kB / 0.5502 GB, free: 24.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.007622, allocations: 15.92 kB / 0.5502 GB, free: 24.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.007734, allocations: 98.39 kB / 0.5503 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.007738, allocations: 0 / 0.5503 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.007739, allocations: 4 kB / 0.5503 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.634e-05/0.007756, allocations: 19.84 kB / 0.5503 GB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.007768, allocations: 3.984 kB / 0.5504 GB, free: 24.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.007787, allocations: 4 kB / 0.5504 GB, free: 24.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.068e-05/0.007838, allocations: 11.98 kB / 0.5504 GB, free: 24.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.007881, allocations: 11.98 kB / 0.5504 GB, free: 24.34 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001679/0.008049, allocations: 213.4 kB / 0.5506 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001812/0.008231, allocations: 328.4 kB / 0.5509 GB, free: 23.78 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.854e-05/0.008289, allocations: 36.88 kB / 0.5509 GB, free: 23.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.199e-05/0.008331, allocations: 43.92 kB / 0.551 GB, free: 23.7 MB / 410.7 MB Notification: Performance of Backend: time 3.21e-07/0.008331, allocations: 0 / 0.551 GB, free: 23.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003415/0.008673, allocations: 209.4 kB / 0.5512 GB, free: 23.47 MB / 410.7 MB Notification: Performance of SimCode: time 0.002709/0.01138, allocations: 0.8749 MB / 0.552 GB, free: 22.55 MB / 410.7 MB Notification: Performance of Templates: time 0.004335/0.01572, allocations: 2.954 MB / 0.5549 GB, free: 19.66 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3674737764522433]