Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30.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.0008043/0.0008043, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001294/0.002098, 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.0008625/0.0008625, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001103/0.001966, 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.037/1.037, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09937/1.136, allocations: 53.67 MB / 243.3 MB, free: 15.57 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.8593/0.8593, allocations: 291.2 MB / 0.5226 GB, free: 52.92 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03737/0.8967, allocations: 21.05 MB / 0.5432 GB, free: 31.93 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.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.066e-06/3.066e-06, allocations: 0 / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.665e-05/3.972e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30): time 0.001911/0.001951, allocations: 0.6982 MB / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 3.371e-05/0.001985, allocations: 15.91 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.943e-05/0.002004, allocations: 0 / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.779e-06/0.002009, allocations: 0 / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.553e-06/0.002015, allocations: 3.938 kB / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.959e-05/0.002045, allocations: 0 / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.223e-05/0.002097, allocations: 19.92 kB / 0.5453 GB, free: 29.83 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.002143, allocations: 4 kB / 0.5453 GB, free: 29.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.782e-05/0.002211, allocations: 19.92 kB / 0.5453 GB, free: 29.81 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.622e-05/0.002267, allocations: 3.984 kB / 0.5453 GB, free: 29.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.002284, allocations: 4 kB / 0.5453 GB, free: 29.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.689e-06/0.002289, allocations: 0 / 0.5453 GB, free: 29.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.19e-05/0.0023, allocations: 4 kB / 0.5453 GB, free: 29.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.053e-05/0.002321, allocations: 3.938 kB / 0.5453 GB, free: 29.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.918e-05/0.00238, allocations: 11.92 kB / 0.5453 GB, free: 29.78 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.268e-05/0.002393, allocations: 0 / 0.5453 GB, free: 29.78 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.002394, allocations: 4 kB / 0.5453 GB, free: 29.78 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.002406, allocations: 4 kB / 0.5453 GB, free: 29.77 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002961/0.002702, allocations: 235.1 kB / 0.5455 GB, free: 29.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.002741, allocations: 15.84 kB / 0.5456 GB, free: 29.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.257e-05/0.002764, allocations: 0.9375 kB / 0.5456 GB, free: 29.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.266e-05/0.002836, allocations: 109.8 kB / 0.5457 GB, free: 29.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.002847, allocations: 8.297 kB / 0.5457 GB, free: 29.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.002857, allocations: 4.375 kB / 0.5457 GB, free: 29.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.483e-05/0.002922, allocations: 38.25 kB / 0.5457 GB, free: 29.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.611e-06/0.002927, allocations: 192 / 0.5457 GB, free: 29.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.002934, allocations: 384 / 0.5457 GB, free: 29.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.002941, allocations: 4.312 kB / 0.5457 GB, free: 29.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.929e-05/0.00296, allocations: 15.92 kB / 0.5457 GB, free: 29.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.396e-05/0.003044, allocations: 61.05 kB / 0.5458 GB, free: 29.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.003198, allocations: 46.53 kB / 0.5458 GB, free: 29.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.049e-05/0.003219, allocations: 8.859 kB / 0.5458 GB, free: 29.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-06/0.003226, allocations: 0 / 0.5458 GB, free: 29.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.003243, allocations: 38.56 kB / 0.5459 GB, free: 29.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.003244, allocations: 0 / 0.5459 GB, free: 29.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001064/0.00335, allocations: 41.78 kB / 0.5459 GB, free: 29.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.969e-05/0.00337, allocations: 51.41 kB / 0.546 GB, free: 29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.312e-05/0.003413, allocations: 114.7 kB / 0.5461 GB, free: 28.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.33e-06/0.003418, allocations: 25.7 kB / 0.5461 GB, free: 28.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.128e-05/0.003429, allocations: 80.14 kB / 0.5462 GB, free: 28.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.003457, allocations: 23.83 kB / 0.5462 GB, free: 28.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.003483, allocations: 13.66 kB / 0.5462 GB, free: 28.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.389e-05/0.003517, allocations: 322.8 kB / 0.5465 GB, free: 28.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.251e-06/0.003523, allocations: 0 / 0.5465 GB, free: 28.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.917e-06/0.003532, allocations: 4 kB / 0.5465 GB, free: 28.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.542e-05/0.003557, allocations: 16.84 kB / 0.5465 GB, free: 28.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.00356, allocations: 3.312 kB / 0.5466 GB, free: 28.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.056e-05/0.003601, allocations: 45.69 kB / 0.5466 GB, free: 28.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.003614, allocations: 4 kB / 0.5466 GB, free: 28.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.003619, allocations: 0 / 0.5466 GB, free: 28.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.003631, allocations: 4.328 kB / 0.5466 GB, free: 28.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.707e-05/0.003678, allocations: 7.938 kB / 0.5466 GB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.00368, allocations: 0 / 0.5466 GB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.359e-05/0.003694, allocations: 4 kB / 0.5466 GB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.217e-06/0.003698, allocations: 4 kB / 0.5466 GB, free: 28.3 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 3.958e-05/0.003738, allocations: 113.8 kB / 0.5467 GB, free: 28.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.62e-06/0.003743, allocations: 4 kB / 0.5467 GB, free: 28.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/0.003769, allocations: 15.67 kB / 0.5467 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.003772, allocations: 0 / 0.5467 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.003773, allocations: 0 / 0.5467 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-06/0.003781, allocations: 4 kB / 0.5467 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.997e-06/0.003785, allocations: 0 / 0.5467 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.913e-06/0.003792, allocations: 3.938 kB / 0.5468 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.555e-06/0.003799, allocations: 7.922 kB / 0.5468 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.233e-05/0.003812, allocations: 0 / 0.5468 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 4.843e-05/0.00386, allocations: 124.9 kB / 0.5469 GB, free: 28.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 6.23e-05/0.003923, allocations: 210.8 kB / 0.5471 GB, free: 27.79 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.063e-05/0.003943, allocations: 12.8 kB / 0.5471 GB, free: 27.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.111e-05/0.003954, allocations: 16.84 kB / 0.5471 GB, free: 27.75 MB / 410.7 MB Notification: Performance of Backend: time 2.11e-07/0.003954, allocations: 0 / 0.5471 GB, free: 27.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.004144, allocations: 74.41 kB / 0.5472 GB, free: 27.67 MB / 410.7 MB Notification: Performance of SimCode: time 0.000222/0.004366, allocations: 0.599 MB / 0.5478 GB, free: 27.02 MB / 410.7 MB Notification: Performance of Templates: time 0.002204/0.006569, allocations: 0.7216 MB / 0.5485 GB, free: 26.33 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30 -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.292622370645404]