Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine.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.00114/0.00114, allocations: 104.4 kB / 19.71 MB, free: 440 kB / 13.93 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.001327/0.001327, allocations: 216.4 kB / 23 MB, free: 2.961 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.005/1.005, allocations: 230.6 MB / 256.8 MB, free: 9.617 MB / 202.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.7076/0.7076, allocations: 312.3 MB / 0.6108 GB, free: 97.13 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.N05CM18_Dexmedetomidine.Dexmedetomidine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 77.53 kB / 0.7699 GB, free: 19.61 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1363, allocations: 74 MB / 0.8422 GB, free: 9.75 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine): time 0.002834/0.1392, allocations: 2.707 MB / 0.8448 GB, free: 7.043 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005695/0.1449, allocations: 6.606 MB / 0.8513 GB, free: 448 kB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/0.145, allocations: 3.938 kB / 0.8513 GB, free: 444 kB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.1452, allocations: 40.22 kB / 0.8513 GB, free: 404 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002507/0.1454, allocations: 116.2 kB / 0.8514 GB, free: 288 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.1457, allocations: 68.48 kB / 0.8515 GB, free: 220 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003125/0.146, allocations: 386.7 kB / 0.8519 GB, free: 15.83 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.1461, allocations: 53.44 kB / 0.8519 GB, free: 15.79 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.1463, allocations: 139.5 kB / 0.8521 GB, free: 15.65 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.1465, allocations: 140.7 kB / 0.8522 GB, free: 15.51 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.297e-05/0.1465, allocations: 24 kB / 0.8522 GB, free: 15.49 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.428e-05/0.1466, allocations: 24.66 kB / 0.8522 GB, free: 15.46 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.058e-05/0.1466, allocations: 59.7 kB / 0.8523 GB, free: 15.41 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.1467, allocations: 132 kB / 0.8524 GB, free: 15.28 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.1469, allocations: 294.8 kB / 0.8527 GB, free: 14.99 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.147, allocations: 0.5938 kB / 0.8527 GB, free: 14.99 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.003e-06/0.147, allocations: 4.656 kB / 0.8527 GB, free: 14.98 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.147, allocations: 4 kB / 0.8527 GB, free: 14.98 MB / 490.8 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.000776/0.1477, allocations: 0.5865 MB / 0.8533 GB, free: 14.34 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.1478, allocations: 12.66 kB / 0.8533 GB, free: 14.33 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.753e-05/0.1478, allocations: 36.69 kB / 0.8533 GB, free: 14.3 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005152/0.1483, allocations: 213.7 kB / 0.8535 GB, free: 14.06 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.1484, allocations: 12.75 kB / 0.8536 GB, free: 14.05 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.881e-05/0.1484, allocations: 28.5 kB / 0.8536 GB, free: 14.02 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003238/0.1487, allocations: 284.5 kB / 0.8539 GB, free: 13.72 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.1487, allocations: 8.484 kB / 0.8539 GB, free: 13.71 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.1488, allocations: 12.55 kB / 0.8539 GB, free: 13.7 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.1488, allocations: 4 kB / 0.8539 GB, free: 13.7 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002628/0.149, allocations: 237.5 kB / 0.8541 GB, free: 13.46 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007811/0.1498, allocations: 0.6777 MB / 0.8548 GB, free: 12.74 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/0.1502, allocations: 234.7 kB / 0.855 GB, free: 12.48 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.1503, allocations: 153.2 kB / 0.8551 GB, free: 12.32 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.1503, allocations: 0.5 kB / 0.8551 GB, free: 12.32 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2526/0.403, allocations: 356.8 kB / 0.8555 GB, free: 21.3 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 4.468e-06/0.403, allocations: 0 / 0.8555 GB, free: 21.3 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001366/0.4043, allocations: 1.083 MB / 0.8565 GB, free: 20.81 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.4044, allocations: 219.1 kB / 0.8567 GB, free: 20.56 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.4045, allocations: 253.6 kB / 0.857 GB, free: 20.46 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.4046, allocations: 36.72 kB / 0.857 GB, free: 20.43 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.008e-05/0.4046, allocations: 155.1 kB / 0.8572 GB, free: 20.33 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.678e-05/0.4047, allocations: 110.2 kB / 0.8573 GB, free: 20.27 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.4047, allocations: 76.22 kB / 0.8573 GB, free: 20.25 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.73e-05/0.4048, allocations: 344.6 kB / 0.8577 GB, free: 19.94 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.405, allocations: 206 kB / 0.8579 GB, free: 19.83 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001915/0.4052, allocations: 320.5 kB / 0.8582 GB, free: 19.6 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003104/0.4055, allocations: 433.8 kB / 0.8586 GB, free: 19.34 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4055, allocations: 1.562 kB / 0.8586 GB, free: 19.34 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000437/0.4059, allocations: 0.5488 MB / 0.8591 GB, free: 19.1 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/0.4059, allocations: 92.52 kB / 0.8592 GB, free: 19.01 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.406, allocations: 4.125 kB / 0.8592 GB, free: 19.01 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.406, allocations: 6.219 kB / 0.8592 GB, free: 19.01 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.4062, allocations: 84.91 kB / 0.8593 GB, free: 19.01 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4062, allocations: 7.453 kB / 0.8593 GB, free: 19.01 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.4063, allocations: 30.27 kB / 0.8593 GB, free: 19 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.4063, allocations: 14.08 kB / 0.8594 GB, free: 19 MB / 490.8 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.0001751/0.4065, allocations: 223.1 kB / 0.8596 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.4065, allocations: 33.22 kB / 0.8596 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.786e-05/0.4065, allocations: 31.92 kB / 0.8596 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.4065, allocations: 6.656 kB / 0.8596 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4066, allocations: 0.5 kB / 0.8596 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.4066, allocations: 8.312 kB / 0.8596 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006615/0.4072, allocations: 0.7533 MB / 0.8604 GB, free: 18.44 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4072, allocations: 3.438 kB / 0.8604 GB, free: 18.44 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.4074, allocations: 53.48 kB / 0.8604 GB, free: 18.44 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.4074, allocations: 7.219 kB / 0.8604 GB, free: 18.44 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.4074, allocations: 11.22 kB / 0.8605 GB, free: 18.44 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.676e-06/0.4074, allocations: 6.531 kB / 0.8605 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4074, allocations: 0.6875 kB / 0.8605 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006078/0.408, allocations: 0.7276 MB / 0.8612 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/0.408, allocations: 22.38 kB / 0.8612 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.4081, allocations: 11.75 kB / 0.8612 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.4082, allocations: 23.67 kB / 0.8612 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.364e-05/0.4083, allocations: 31.86 kB / 0.8613 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.4083, allocations: 9.234 kB / 0.8613 GB, free: 18.07 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001024/0.4084, allocations: 177.8 kB / 0.8614 GB, free: 17.99 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.4084, allocations: 0.5938 kB / 0.8614 GB, free: 17.99 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002323/0.4086, allocations: 87.69 kB / 0.8615 GB, free: 17.99 MB / 490.8 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.0001028/0.4087, allocations: 123.4 kB / 0.8616 GB, free: 17.9 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004456/0.4092, allocations: 0.5676 MB / 0.8622 GB, free: 17.55 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4092, allocations: 0.7188 kB / 0.8622 GB, free: 17.55 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.4094, allocations: 299.6 kB / 0.8625 GB, free: 17.37 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.4097, allocations: 87.45 kB / 0.8626 GB, free: 17.37 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.4109, allocations: 0.9721 MB / 0.8635 GB, free: 16.87 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.411, allocations: 158.8 kB / 0.8637 GB, free: 16.79 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.917e-05/0.4111, allocations: 31.69 kB / 0.8637 GB, free: 16.78 MB / 490.8 MB Notification: Performance of SimCode: time 8.52e-07/0.4111, allocations: 0 / 0.8637 GB, free: 16.78 MB / 490.8 MB Notification: Performance of Templates: time 0.006217/0.4173, allocations: 4.017 MB / 0.8676 GB, free: 16.43 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.343493920750916]