Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone.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.0009083/0.0009083, 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.0009213/0.0009213, 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 1.013/1.013, allocations: 177.1 MB / 203.5 MB, free: 5.773 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.7218/0.7218, allocations: 291.1 MB / 0.5382 GB, free: 51.83 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.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.6974 GB, free: 10.37 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.864e-05/3.049e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.36 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone): time 0.002664/0.002695, allocations: 1.834 MB / 0.6991 GB, free: 8.512 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009671/0.003662, allocations: 0.5499 MB / 0.6997 GB, free: 7.957 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.946e-05/0.003741, allocations: 0 / 0.6997 GB, free: 7.957 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.003857, allocations: 11.86 kB / 0.6997 GB, free: 7.945 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004135/0.004271, allocations: 71.47 kB / 0.6998 GB, free: 7.875 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.004455, allocations: 67.03 kB / 0.6998 GB, free: 7.812 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002288/0.004684, allocations: 171.3 kB / 0.7 GB, free: 7.645 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.908e-05/0.004743, allocations: 9.297 kB / 0.7 GB, free: 7.637 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.004887, allocations: 91.78 kB / 0.7001 GB, free: 7.547 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002561/0.005143, allocations: 75.77 kB / 0.7002 GB, free: 7.473 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.005172, allocations: 8 kB / 0.7002 GB, free: 7.465 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.364e-05/0.005196, allocations: 8 kB / 0.7002 GB, free: 7.457 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.324e-05/0.005259, allocations: 27.91 kB / 0.7002 GB, free: 7.43 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.382e-05/0.005323, allocations: 43.84 kB / 0.7002 GB, free: 7.387 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.005475, allocations: 107.7 kB / 0.7003 GB, free: 7.281 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.005478, allocations: 4 kB / 0.7004 GB, free: 7.277 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.002e-06/0.005479, allocations: 0 / 0.7004 GB, free: 7.277 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.005484, allocations: 0 / 0.7004 GB, free: 7.277 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.0006732/0.006157, allocations: 387.5 kB / 0.7007 GB, free: 6.863 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.006201, allocations: 11.97 kB / 0.7007 GB, free: 6.852 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.561e-05/0.006257, allocations: 16.84 kB / 0.7007 GB, free: 6.836 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.006438, allocations: 146.2 kB / 0.7009 GB, free: 6.668 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.006457, allocations: 12.38 kB / 0.7009 GB, free: 6.656 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.006486, allocations: 4.375 kB / 0.7009 GB, free: 6.652 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.006709, allocations: 102.2 kB / 0.701 GB, free: 6.547 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.00672, allocations: 3.938 kB / 0.701 GB, free: 6.543 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.006735, allocations: 0 / 0.701 GB, free: 6.543 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.00674, allocations: 0 / 0.701 GB, free: 6.543 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001994/0.006939, allocations: 83.86 kB / 0.7011 GB, free: 6.461 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004301/0.007369, allocations: 284.4 kB / 0.7014 GB, free: 6.152 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002932/0.007662, allocations: 134.4 kB / 0.7015 GB, free: 6.012 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.007773, allocations: 56.81 kB / 0.7015 GB, free: 5.953 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.007789, allocations: 3.938 kB / 0.7015 GB, free: 5.949 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002077/0.007996, allocations: 111.3 kB / 0.7016 GB, free: 5.828 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.007998, allocations: 224 / 0.7016 GB, free: 5.828 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0004477/0.008446, allocations: 201.6 kB / 0.7018 GB, free: 5.625 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.008479, allocations: 63.34 kB / 0.7019 GB, free: 5.551 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.008607, allocations: 157 kB / 0.7021 GB, free: 5.391 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.008622, allocations: 25.7 kB / 0.7021 GB, free: 5.359 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.795e-05/0.00867, allocations: 104.1 kB / 0.7022 GB, free: 5.254 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.008702, allocations: 47.64 kB / 0.7022 GB, free: 5.207 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.948e-05/0.008762, allocations: 33.7 kB / 0.7023 GB, free: 5.168 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.569e-05/0.008807, allocations: 326.8 kB / 0.7026 GB, free: 4.84 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.008939, allocations: 85.59 kB / 0.7026 GB, free: 4.75 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.0091, allocations: 198.1 kB / 0.7028 GB, free: 4.52 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.009318, allocations: 144.8 kB / 0.703 GB, free: 4.371 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.009321, 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.0004662/0.009787, allocations: 236.8 kB / 0.7032 GB, free: 4.117 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.597e-05/0.009823, allocations: 33.7 kB / 0.7032 GB, free: 4.078 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.009832, allocations: 4 kB / 0.7032 GB, free: 4.074 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.009847, allocations: 0 / 0.7032 GB, free: 4.074 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.009951, allocations: 35.92 kB / 0.7033 GB, free: 4.039 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.009958, allocations: 7.984 kB / 0.7033 GB, free: 4.031 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.01e-05/0.01004, allocations: 15.92 kB / 0.7033 GB, free: 4.016 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.01005, allocations: 8 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 6.007e-05/0.01011, allocations: 122.4 kB / 0.7034 GB, free: 3.879 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.01012, allocations: 11.91 kB / 0.7034 GB, free: 3.867 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/0.01036, allocations: 173.8 kB / 0.7036 GB, free: 3.699 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.01037, allocations: 4 kB / 0.7036 GB, free: 3.695 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.01037, allocations: 0 / 0.7036 GB, free: 3.695 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.01038, allocations: 12.02 kB / 0.7036 GB, free: 3.684 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.222e-05/0.01047, allocations: 149.2 kB / 0.7038 GB, free: 3.508 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01047, allocations: 7.938 kB / 0.7038 GB, free: 3.5 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.277e-05/0.01055, allocations: 19.98 kB / 0.7038 GB, free: 3.48 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.01056, allocations: 0 / 0.7038 GB, free: 3.48 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.01057, allocations: 4 kB / 0.7038 GB, free: 3.477 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01057, allocations: 0 / 0.7038 GB, free: 3.477 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01057, allocations: 3.984 kB / 0.7038 GB, free: 3.473 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.01087, allocations: 252.9 kB / 0.704 GB, free: 3.207 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.666e-05/0.01088, allocations: 15.88 kB / 0.704 GB, free: 3.191 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.0109, allocations: 7.984 kB / 0.7041 GB, free: 3.184 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.431e-05/0.01096, allocations: 15.92 kB / 0.7041 GB, free: 3.168 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.01102, allocations: 19.92 kB / 0.7041 GB, free: 3.148 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.01102, allocations: 3.984 kB / 0.7041 GB, free: 3.145 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.957e-05/0.01107, allocations: 123.1 kB / 0.7042 GB, free: 3.023 MB / 410.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01107, allocations: 64 / 0.7042 GB, free: 3.023 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.00014/0.01121, allocations: 36 kB / 0.7042 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 7.946e-05/0.01129, allocations: 99.25 kB / 0.7043 GB, free: 2.879 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002553/0.01155, allocations: 216.9 kB / 0.7045 GB, free: 2.648 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01155, allocations: 0 / 0.7045 GB, free: 2.648 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.984e-05/0.01164, allocations: 63.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.0002002/0.01184, allocations: 54.02 kB / 0.7047 GB, free: 2.535 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00048/0.01232, allocations: 335.2 kB / 0.705 GB, free: 2.176 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.271e-05/0.01237, allocations: 97.8 kB / 0.7051 GB, free: 2.062 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.227e-05/0.01242, allocations: 16.5 kB / 0.7051 GB, free: 2.043 MB / 410.8 MB Notification: Performance of SimCode: time 4.81e-07/0.01242, allocations: 0 / 0.7051 GB, free: 2.043 MB / 410.8 MB Notification: Performance of Templates: time 0.002647/0.01507, allocations: 2.058 MB / 0.7071 GB, free: 8 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.505788879469037]