Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_2C.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.001363/0.001363, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002504/0.003867, 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.001195/0.001195, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001673/0.002868, 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.042/1.042, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1002/1.142, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.8048/0.8048, allocations: 291.1 MB / 0.5227 GB, free: 52.46 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06083/0.8656, allocations: 21.04 MB / 0.5433 GB, free: 31.48 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_2C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_2C") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_2C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_2C") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.5447 GB, free: 30.04 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.965e-05/2.112e-05, allocations: 2.312 kB / 0.5447 GB, free: 30.04 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_2C): time 0.003541/0.003562, allocations: 2.942 MB / 0.5476 GB, free: 27.08 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.004715, allocations: 0.7071 MB / 0.5483 GB, free: 26.37 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.004844, allocations: 0 / 0.5483 GB, free: 26.37 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.917e-05/0.004943, allocations: 43.56 kB / 0.5483 GB, free: 26.33 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000249/0.005192, allocations: 123 kB / 0.5484 GB, free: 26.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.005382, allocations: 71.78 kB / 0.5485 GB, free: 26.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003708/0.005753, allocations: 390 kB / 0.5489 GB, free: 25.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.005897, allocations: 62.84 kB / 0.5489 GB, free: 25.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002891/0.006186, allocations: 241.5 kB / 0.5492 GB, free: 25.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.006425, allocations: 123.6 kB / 0.5493 GB, free: 25.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.943e-05/0.006464, allocations: 24 kB / 0.5493 GB, free: 25.31 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.163e-05/0.006516, allocations: 24 kB / 0.5493 GB, free: 25.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.448e-05/0.00656, allocations: 35.88 kB / 0.5494 GB, free: 25.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.006664, allocations: 99.81 kB / 0.5494 GB, free: 25.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.006909, allocations: 207.2 kB / 0.5496 GB, free: 24.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.283e-05/0.006922, allocations: 0 / 0.5496 GB, free: 24.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.006923, allocations: 0 / 0.5496 GB, free: 24.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.006933, allocations: 0 / 0.5496 GB, free: 24.95 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0008332/0.007766, allocations: 0.6127 MB / 0.5502 GB, free: 24.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.0078, allocations: 15.89 kB / 0.5503 GB, free: 24.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.326e-05/0.007874, allocations: 40.16 kB / 0.5503 GB, free: 24.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.008098, allocations: 201.5 kB / 0.5505 GB, free: 24.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.008126, allocations: 20.75 kB / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.998e-05/0.008166, allocations: 20.36 kB / 0.5505 GB, free: 23.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.008442, allocations: 239.7 kB / 0.5508 GB, free: 23.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.00846, allocations: 11.92 kB / 0.5508 GB, free: 23.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.008476, allocations: 4 kB / 0.5508 GB, free: 23.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.008484, allocations: 8 kB / 0.5508 GB, free: 23.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.008638, allocations: 133.8 kB / 0.5509 GB, free: 23.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007372/0.009376, allocations: 0.5077 MB / 0.5514 GB, free: 23.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002521/0.009628, allocations: 159.8 kB / 0.5516 GB, free: 22.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.335e-05/0.009711, allocations: 103.1 kB / 0.5517 GB, free: 22.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.009728, allocations: 11.88 kB / 0.5517 GB, free: 22.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002561/0.009984, allocations: 319.4 kB / 0.552 GB, free: 22.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.104e-06/0.009986, allocations: 0 / 0.552 GB, free: 22.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009633/0.01095, allocations: 0.8191 MB / 0.5528 GB, free: 21.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.01101, allocations: 277 kB / 0.553 GB, free: 21.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.01114, allocations: 217 kB / 0.5532 GB, free: 20.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.01117, allocations: 45.69 kB / 0.5533 GB, free: 20.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.172e-05/0.01122, allocations: 137.3 kB / 0.5534 GB, free: 20.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.383e-05/0.01128, allocations: 107.1 kB / 0.5535 GB, free: 20.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.018e-05/0.01137, allocations: 82.14 kB / 0.5536 GB, free: 20.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.385e-05/0.01143, allocations: 342.7 kB / 0.5539 GB, free: 20.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.741e-05/0.01152, allocations: 147.8 kB / 0.5541 GB, free: 20.01 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.01164, allocations: 251.2 kB / 0.5543 GB, free: 19.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.01186, allocations: 343.8 kB / 0.5546 GB, free: 19.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.01187, allocations: 0 / 0.5546 GB, free: 19.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003092/0.01217, allocations: 387.3 kB / 0.555 GB, free: 18.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.789e-05/0.01222, allocations: 93.09 kB / 0.5551 GB, free: 18.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.01223, allocations: 4 kB / 0.5551 GB, free: 18.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.01225, allocations: 4 kB / 0.5551 GB, free: 18.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.01256, allocations: 107.8 kB / 0.5552 GB, free: 18.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.01257, allocations: 4 kB / 0.5552 GB, free: 18.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.01273, allocations: 24.28 kB / 0.5552 GB, free: 18.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.01275, allocations: 16 kB / 0.5552 GB, free: 18.61 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 3 * 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 0.0001557/0.01291, allocations: 214.5 kB / 0.5554 GB, free: 18.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/0.01295, allocations: 27.98 kB / 0.5555 GB, free: 18.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.692e-05/0.01299, allocations: 30.95 kB / 0.5555 GB, free: 18.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.013, allocations: 4 kB / 0.5555 GB, free: 18.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.013, allocations: 0 / 0.5555 GB, free: 18.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.01301, allocations: 7.984 kB / 0.5555 GB, free: 18.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004778/0.01348, allocations: 0.518 MB / 0.556 GB, free: 17.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.01349, allocations: 0 / 0.556 GB, free: 17.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.01373, allocations: 71.94 kB / 0.5561 GB, free: 17.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-05/0.01376, allocations: 27.8 kB / 0.5561 GB, free: 17.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.01377, allocations: 0 / 0.5561 GB, free: 17.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.01379, allocations: 8 kB / 0.5561 GB, free: 17.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.01379, allocations: 7.875 kB / 0.5561 GB, free: 17.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.01379, allocations: 0 / 0.5561 GB, free: 17.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003716/0.01416, allocations: 0.5164 MB / 0.5566 GB, free: 17.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.39e-05/0.01421, allocations: 12 kB / 0.5566 GB, free: 17.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.01436, allocations: 11.98 kB / 0.5567 GB, free: 17.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.684e-05/0.01442, allocations: 32.12 kB / 0.5567 GB, free: 17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.01444, allocations: 11.98 kB / 0.5567 GB, free: 16.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.224e-05/0.01451, allocations: 74.78 kB / 0.5568 GB, free: 16.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01451, allocations: 0 / 0.5568 GB, free: 16.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003245/0.01484, allocations: 84 kB / 0.5569 GB, free: 16.83 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.00013/0.01497, allocations: 108.3 kB / 0.557 GB, free: 16.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003142/0.01528, allocations: 496.1 kB / 0.5574 GB, free: 16.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/0.01529, allocations: 8 kB / 0.5574 GB, free: 16.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.01545, allocations: 278.9 kB / 0.5577 GB, free: 15.85 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005218/0.01598, allocations: 0.6582 MB / 0.5583 GB, free: 15.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009461/0.02544, allocations: 0.7174 MB / 0.559 GB, free: 14.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.299e-05/0.02548, allocations: 97.11 kB / 0.5591 GB, free: 14.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.2327/0.2581, allocations: 29.72 kB / 0.5592 GB, free: 84.85 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002293/0.2584, allocations: 142.8 kB / 0.5593 GB, free: 84.81 MB / 410.8 MB Notification: Performance of SimCode: time 1.473e-06/0.2584, allocations: 3.5 kB / 0.5593 GB, free: 84.81 MB / 410.8 MB Notification: Performance of Templates: time 0.007955/0.2663, allocations: 5.234 MB / 0.5644 GB, free: 84.14 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_2C.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_2C.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_2C.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_2C.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_2C.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_2C -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_2C.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7844964638352394]