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.0009819/0.0009819, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.0008998/0.0008998, allocations: 165.9 kB / 23.21 MB, free: 1.332 MB / 18.57 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.8663/0.8663, allocations: 177.1 MB / 203.5 MB, free: 5.77 MB / 186.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.623/0.623, allocations: 291.1 MB / 0.5382 GB, free: 51.8 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.283e-06/1.283e-06, allocations: 0 / 0.6974 GB, free: 10.37 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.792e-05/1.921e-05, allocations: 6.281 kB / 0.6974 GB, free: 10.36 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone): time 0.001697/0.001716, allocations: 1.834 MB / 0.6992 GB, free: 8.508 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005994/0.002315, allocations: 0.546 MB / 0.6997 GB, free: 7.957 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.036e-05/0.002366, allocations: 4 kB / 0.6997 GB, free: 7.953 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.695e-05/0.002453, allocations: 11.86 kB / 0.6997 GB, free: 7.941 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002909/0.002744, allocations: 71.47 kB / 0.6998 GB, free: 7.871 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001142/0.002858, allocations: 71.27 kB / 0.6998 GB, free: 7.805 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.003002, allocations: 163.3 kB / 0.7 GB, free: 7.645 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.891e-05/0.003041, allocations: 5.312 kB / 0.7 GB, free: 7.641 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.456e-05/0.003136, allocations: 87.78 kB / 0.7001 GB, free: 7.555 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.003311, allocations: 91.75 kB / 0.7002 GB, free: 7.465 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.003333, allocations: 8 kB / 0.7002 GB, free: 7.457 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.553e-05/0.003348, allocations: 4 kB / 0.7002 GB, free: 7.453 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.825e-05/0.003397, allocations: 31.91 kB / 0.7002 GB, free: 7.422 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.583e-05/0.003442, allocations: 39.84 kB / 0.7003 GB, free: 7.383 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.003552, allocations: 107.6 kB / 0.7004 GB, free: 7.277 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.003554, allocations: 0 / 0.7004 GB, free: 7.277 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.693e-06/0.003556, allocations: 4 kB / 0.7004 GB, free: 7.273 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.003559, allocations: 0 / 0.7004 GB, free: 7.273 MB / 410.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.0004817/0.004041, allocations: 395.5 kB / 0.7007 GB, free: 6.852 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.004072, allocations: 8.031 kB / 0.7008 GB, free: 6.844 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/0.004113, allocations: 12.84 kB / 0.7008 GB, free: 6.832 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.004235, allocations: 146.2 kB / 0.7009 GB, free: 6.664 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.004247, allocations: 4.375 kB / 0.7009 GB, free: 6.66 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.004268, allocations: 8.375 kB / 0.7009 GB, free: 6.652 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.004422, allocations: 98.17 kB / 0.701 GB, free: 6.551 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.004429, allocations: 3.938 kB / 0.701 GB, free: 6.547 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.00444, allocations: 8 kB / 0.701 GB, free: 6.539 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.004445, allocations: 7.938 kB / 0.701 GB, free: 6.531 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.004591, allocations: 75.92 kB / 0.7011 GB, free: 6.457 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.004894, allocations: 288.4 kB / 0.7014 GB, free: 6.145 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.0051, allocations: 130.4 kB / 0.7015 GB, free: 6.008 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.736e-05/0.005177, allocations: 52.81 kB / 0.7016 GB, free: 5.953 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.005191, allocations: 11.94 kB / 0.7016 GB, free: 5.941 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001519/0.005343, allocations: 111.3 kB / 0.7017 GB, free: 5.82 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.153e-06/0.005344, allocations: 224 / 0.7017 GB, free: 5.82 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003235/0.005668, allocations: 197.6 kB / 0.7019 GB, free: 5.621 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.005689, allocations: 55.34 kB / 0.7019 GB, free: 5.555 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.973e-05/0.005769, allocations: 155.6 kB / 0.7021 GB, free: 5.395 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.005781, allocations: 33.7 kB / 0.7021 GB, free: 5.355 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.889e-05/0.00582, allocations: 104 kB / 0.7022 GB, free: 5.25 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.00584, allocations: 43.64 kB / 0.7022 GB, free: 5.207 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.00588, allocations: 45.69 kB / 0.7023 GB, free: 5.156 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.897e-05/0.005909, allocations: 322.8 kB / 0.7026 GB, free: 4.832 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.445e-05/0.006004, allocations: 81.66 kB / 0.7027 GB, free: 4.746 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.006111, allocations: 200.4 kB / 0.7029 GB, free: 4.516 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.006262, allocations: 138.5 kB / 0.703 GB, free: 4.371 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.006264, allocations: 3.938 kB / 0.703 GB, free: 4.367 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002185/0.006482, allocations: 247.2 kB / 0.7032 GB, free: 4.109 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.006501, allocations: 33.7 kB / 0.7033 GB, free: 4.07 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.006505, allocations: 7.938 kB / 0.7033 GB, free: 4.062 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.006516, allocations: 0 / 0.7033 GB, free: 4.062 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.986e-05/0.006606, allocations: 23.98 kB / 0.7033 GB, free: 4.039 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.00661, allocations: 0 / 0.7033 GB, free: 4.039 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.829e-05/0.006688, allocations: 23.92 kB / 0.7033 GB, free: 4.016 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.006698, allocations: 7.984 kB / 0.7033 GB, free: 4.008 MB / 410.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 4.923e-05/0.006747, allocations: 130.4 kB / 0.7034 GB, free: 3.871 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.092e-05/0.006758, allocations: 15.91 kB / 0.7035 GB, free: 3.855 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.006968, allocations: 170.2 kB / 0.7036 GB, free: 3.691 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.006969, allocations: 0 / 0.7036 GB, free: 3.691 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.006972, allocations: 0 / 0.7036 GB, free: 3.691 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.006975, allocations: 0 / 0.7036 GB, free: 3.691 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.322e-05/0.007049, allocations: 153.2 kB / 0.7038 GB, free: 3.512 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.00705, allocations: 3.938 kB / 0.7038 GB, free: 3.508 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.874e-05/0.007129, allocations: 31.98 kB / 0.7038 GB, free: 3.477 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.00713, allocations: 0 / 0.7038 GB, free: 3.477 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.007139, allocations: 0 / 0.7038 GB, free: 3.477 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.007141, allocations: 4 kB / 0.7038 GB, free: 3.473 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.007142, allocations: 3.984 kB / 0.7038 GB, free: 3.469 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002833/0.007425, allocations: 248.9 kB / 0.704 GB, free: 3.207 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.562e-05/0.007441, allocations: 19.88 kB / 0.7041 GB, free: 3.188 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.007458, allocations: 0 / 0.7041 GB, free: 3.188 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.51e-05/0.007513, allocations: 20.05 kB / 0.7041 GB, free: 3.168 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.00756, allocations: 19.84 kB / 0.7041 GB, free: 3.148 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.944e-06/0.007568, allocations: 4 kB / 0.7041 GB, free: 3.145 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.252e-05/0.00761, allocations: 129.7 kB / 0.7042 GB, free: 3.02 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.00761, allocations: 0 / 0.7042 GB, free: 3.02 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000131/0.007741, allocations: 32 kB / 0.7043 GB, free: 2.988 MB / 410.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 6.865e-05/0.00781, allocations: 103.2 kB / 0.7044 GB, free: 2.875 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002255/0.008035, allocations: 217 kB / 0.7046 GB, free: 2.645 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.008036, allocations: 0 / 0.7046 GB, free: 2.645 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.128e-05/0.008118, allocations: 59.89 kB / 0.7046 GB, free: 2.586 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.008295, allocations: 43.89 kB / 0.7047 GB, free: 2.543 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004172/0.008712, allocations: 343.2 kB / 0.705 GB, free: 2.176 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.815e-05/0.008751, allocations: 93.8 kB / 0.7051 GB, free: 2.066 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.384e-05/0.008794, allocations: 20.5 kB / 0.7051 GB, free: 2.043 MB / 410.8 MB Notification: Performance of SimCode: time 4.81e-07/0.008795, allocations: 0 / 0.7051 GB, free: 2.043 MB / 410.8 MB Notification: Performance of Templates: time 0.002115/0.01091, allocations: 2.055 MB / 0.7071 GB, free: 0 / 410.8 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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Testosterone.Testosterone.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.287321678362787]