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.000989/0.000989, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001447/0.002436, allocations: 440 kB / 10.41 MB, free: 284 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.0009244/0.0009244, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00126/0.002184, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.028/1.028, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09017/1.118, allocations: 53.68 MB / 243.4 MB, free: 15.5 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.7962/0.7962, allocations: 291.1 MB / 0.5227 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02835/0.8245, allocations: 21.05 MB / 0.5433 GB, free: 31.49 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.703e-06/1.703e-06, allocations: 0 / 0.5447 GB, free: 30.04 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.55e-05, allocations: 2.312 kB / 0.5447 GB, free: 30.04 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone): time 0.003228/0.003253, allocations: 1.957 MB / 0.5466 GB, free: 28.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009751/0.004228, allocations: 0.5795 MB / 0.5472 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.448e-05/0.004303, allocations: 0 / 0.5472 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.105e-05/0.004374, allocations: 15.84 kB / 0.5472 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003068/0.00468, allocations: 67.53 kB / 0.5473 GB, free: 27.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.004902, allocations: 67.77 kB / 0.5473 GB, free: 27.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002882/0.00519, allocations: 172 kB / 0.5475 GB, free: 27.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.645e-05/0.005247, allocations: 5.969 kB / 0.5475 GB, free: 27.17 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.005462, allocations: 107.8 kB / 0.5476 GB, free: 27.06 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.005715, allocations: 79.81 kB / 0.5477 GB, free: 26.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.247e-05/0.005748, allocations: 4 kB / 0.5477 GB, free: 26.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.803e-05/0.005776, allocations: 11.94 kB / 0.5477 GB, free: 26.97 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.441e-05/0.00584, allocations: 31.88 kB / 0.5477 GB, free: 26.94 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.714e-05/0.005897, allocations: 27.94 kB / 0.5478 GB, free: 26.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.006048, allocations: 71.75 kB / 0.5478 GB, free: 26.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.735e-05/0.006065, allocations: 4 kB / 0.5478 GB, free: 26.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.006067, allocations: 0 / 0.5478 GB, free: 26.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.006078, allocations: 0 / 0.5478 GB, free: 26.84 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.0006916/0.00677, allocations: 388.1 kB / 0.5482 GB, free: 26.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.006807, allocations: 19.89 kB / 0.5482 GB, free: 26.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.915e-05/0.006876, allocations: 12.92 kB / 0.5482 GB, free: 26.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.00707, allocations: 164.8 kB / 0.5484 GB, free: 26.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.0071, allocations: 4.375 kB / 0.5484 GB, free: 26.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.007131, allocations: 12.36 kB / 0.5484 GB, free: 26.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.007309, allocations: 77.02 kB / 0.5485 GB, free: 26.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.00732, allocations: 7.938 kB / 0.5485 GB, free: 26.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.007334, allocations: 0 / 0.5485 GB, free: 26.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.007341, allocations: 3.938 kB / 0.5485 GB, free: 26.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.671e-05/0.007398, allocations: 23.98 kB / 0.5485 GB, free: 26.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003784/0.007776, allocations: 193.9 kB / 0.5487 GB, free: 25.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.007935, allocations: 118.9 kB / 0.5488 GB, free: 25.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.177e-05/0.007977, allocations: 24.84 kB / 0.5488 GB, free: 25.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.007996, allocations: 0 / 0.5488 GB, free: 25.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001741/0.00817, allocations: 86.23 kB / 0.5489 GB, free: 25.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.008172, allocations: 0 / 0.5489 GB, free: 25.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001898/0.008361, allocations: 89.59 kB / 0.549 GB, free: 25.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.008387, allocations: 55.41 kB / 0.5491 GB, free: 25.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.004e-05/0.008477, allocations: 154.6 kB / 0.5492 GB, free: 25.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.008495, allocations: 29.7 kB / 0.5492 GB, free: 25.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.917e-05/0.008534, allocations: 96.06 kB / 0.5493 GB, free: 25.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.759e-05/0.008572, allocations: 47.61 kB / 0.5494 GB, free: 25.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-05/0.008633, allocations: 37.66 kB / 0.5494 GB, free: 25.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.722e-05/0.00868, allocations: 326.8 kB / 0.5497 GB, free: 24.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.233e-05/0.008732, allocations: 51.77 kB / 0.5498 GB, free: 24.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.163e-05/0.008804, allocations: 154.1 kB / 0.5499 GB, free: 24.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.772e-05/0.008892, allocations: 90.75 kB / 0.55 GB, free: 24.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.008894, allocations: 0 / 0.55 GB, free: 24.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001452/0.009039, allocations: 151.8 kB / 0.5501 GB, free: 24.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/0.009074, allocations: 29.7 kB / 0.5502 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.00908, allocations: 3.984 kB / 0.5502 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.009095, allocations: 0 / 0.5502 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.009246, allocations: 35.98 kB / 0.5502 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.009249, allocations: 3.938 kB / 0.5502 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.00935, allocations: 11.98 kB / 0.5502 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.009363, allocations: 8 kB / 0.5502 GB, free: 24.14 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 8.172e-05/0.009445, allocations: 120.9 kB / 0.5503 GB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.00947, allocations: 15.92 kB / 0.5504 GB, free: 23.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/0.009629, allocations: 94.36 kB / 0.5505 GB, free: 23.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.009632, allocations: 7.938 kB / 0.5505 GB, free: 23.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.009634, allocations: 0 / 0.5505 GB, free: 23.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.009637, allocations: 0 / 0.5505 GB, free: 23.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.009738, allocations: 101.8 kB / 0.5506 GB, free: 23.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.009739, allocations: 0 / 0.5506 GB, free: 23.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.009856, allocations: 23.98 kB / 0.5506 GB, free: 23.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.996e-05/0.009876, allocations: 7.953 kB / 0.5506 GB, free: 23.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.009881, allocations: 7.938 kB / 0.5506 GB, free: 23.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.009901, allocations: 7.984 kB / 0.5506 GB, free: 23.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.009903, allocations: 0 / 0.5506 GB, free: 23.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.009905, allocations: 0 / 0.5506 GB, free: 23.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.01009, allocations: 139.3 kB / 0.5507 GB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.01011, allocations: 7.938 kB / 0.5507 GB, free: 23.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-05/0.01019, allocations: 15.11 kB / 0.5508 GB, free: 23.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.01024, allocations: 15.97 kB / 0.5508 GB, free: 23.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.637e-06/0.01025, allocations: 0 / 0.5508 GB, free: 23.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.339e-05/0.01029, allocations: 44.73 kB / 0.5508 GB, free: 23.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01029, allocations: 4.031 kB / 0.5508 GB, free: 23.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002046/0.01049, allocations: 32 kB / 0.5508 GB, free: 23.45 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 0.0001162/0.01061, allocations: 88.39 kB / 0.5509 GB, free: 23.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001704/0.01078, allocations: 161 kB / 0.5511 GB, free: 23.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/0.01079, allocations: 4 kB / 0.5511 GB, free: 23.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.177e-05/0.01087, allocations: 36.78 kB / 0.5511 GB, free: 23.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.01114, allocations: 371.4 kB / 0.5515 GB, free: 22.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002924/0.01406, allocations: 354.2 kB / 0.5518 GB, free: 22.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.204e-05/0.01409, allocations: 71.83 kB / 0.5519 GB, free: 22.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.999e-05/0.01416, allocations: 17.48 kB / 0.5519 GB, free: 22.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.01428, allocations: 87.34 kB / 0.552 GB, free: 22.14 MB / 410.7 MB Notification: Performance of SimCode: time 1.303e-06/0.01428, allocations: 0 / 0.552 GB, free: 22.14 MB / 410.7 MB Notification: Performance of Templates: time 0.003873/0.01815, allocations: 2.759 MB / 0.5547 GB, free: 19.44 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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.456352108158171]