Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam.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.001285/0.001285, allocations: 112.3 kB / 19.71 MB, free: 432 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.001339/0.001339, allocations: 221.3 kB / 23.01 MB, free: 2.965 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.011/1.011, 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.7778/0.7778, allocations: 312.3 MB / 0.6109 GB, free: 97.75 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.N05CD14_Remimazolam.Remimazolam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam") [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.001499/0.001499, allocations: 74.3 kB / 0.7699 GB, free: 20.27 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.119, allocations: 73.99 MB / 0.8422 GB, free: 10.43 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam): time 0.003125/0.1221, allocations: 2.723 MB / 0.8448 GB, free: 7.703 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.006452/0.1286, allocations: 6.61 MB / 0.8513 GB, free: 1.094 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002339/0.1288, allocations: 4.531 kB / 0.8513 GB, free: 1.09 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001607/0.1289, allocations: 35.64 kB / 0.8513 GB, free: 1.055 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002785/0.1292, allocations: 120.7 kB / 0.8515 GB, free: 0.9375 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.1295, allocations: 72.56 kB / 0.8515 GB, free: 0.8672 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003767/0.1299, allocations: 382.1 kB / 0.8519 GB, free: 0.4922 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.13, allocations: 53.42 kB / 0.8519 GB, free: 452 kB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.1302, allocations: 136 kB / 0.8521 GB, free: 316 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002184/0.1304, allocations: 139.9 kB / 0.8522 GB, free: 176 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.606e-05/0.1305, allocations: 24 kB / 0.8522 GB, free: 152 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.823e-05/0.1305, allocations: 24.75 kB / 0.8523 GB, free: 128 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.599e-05/0.1305, allocations: 63.69 kB / 0.8523 GB, free: 64 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.1307, allocations: 136 kB / 0.8524 GB, free: 15.93 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.1309, allocations: 290.4 kB / 0.8527 GB, free: 15.65 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1309, allocations: 0 / 0.8527 GB, free: 15.65 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1309, allocations: 0.5938 kB / 0.8527 GB, free: 15.65 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.1309, allocations: 0 / 0.8527 GB, free: 15.65 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.001142/0.1321, allocations: 0.5981 MB / 0.8533 GB, free: 15 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.1321, allocations: 8.562 kB / 0.8533 GB, free: 14.99 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.48e-05/0.1322, allocations: 33.34 kB / 0.8533 GB, free: 14.96 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.1325, allocations: 209.1 kB / 0.8535 GB, free: 14.73 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.1325, allocations: 17.25 kB / 0.8536 GB, free: 14.71 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.151e-05/0.1325, allocations: 32.38 kB / 0.8536 GB, free: 14.68 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000351/0.1329, allocations: 288.4 kB / 0.8539 GB, free: 14.38 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.1329, allocations: 4.609 kB / 0.8539 GB, free: 14.38 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.1329, allocations: 12 kB / 0.8539 GB, free: 14.36 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1329, allocations: 4.688 kB / 0.8539 GB, free: 14.36 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002758/0.1332, allocations: 233.6 kB / 0.8541 GB, free: 14.12 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008708/0.1341, allocations: 0.6732 MB / 0.8548 GB, free: 13.41 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000396/0.1345, allocations: 243.2 kB / 0.855 GB, free: 13.14 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.1346, allocations: 149 kB / 0.8551 GB, free: 12.98 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.1346, allocations: 4.656 kB / 0.8551 GB, free: 12.98 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003221/0.1349, allocations: 355.9 kB / 0.8555 GB, free: 12.59 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 3.015e-06/0.1349, allocations: 0 / 0.8555 GB, free: 12.59 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.2734/0.4083, allocations: 1.075 MB / 0.8565 GB, free: 30.48 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.4084, allocations: 220.9 kB / 0.8567 GB, free: 30.23 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.4086, allocations: 251.5 kB / 0.857 GB, free: 30.12 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.4086, allocations: 33.48 kB / 0.857 GB, free: 30.09 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.4087, allocations: 161.8 kB / 0.8572 GB, free: 30.01 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.906e-05/0.4087, allocations: 110 kB / 0.8573 GB, free: 29.95 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.157e-05/0.4088, allocations: 75.11 kB / 0.8573 GB, free: 29.93 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.746e-05/0.4088, allocations: 348.2 kB / 0.8577 GB, free: 29.62 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.409, allocations: 210.4 kB / 0.8579 GB, free: 29.52 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.4092, allocations: 310 kB / 0.8582 GB, free: 29.29 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003183/0.4095, allocations: 434.7 kB / 0.8586 GB, free: 29.03 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4095, allocations: 3.844 kB / 0.8586 GB, free: 29.03 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004854/0.41, allocations: 0.5505 MB / 0.8591 GB, free: 28.79 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.103e-05/0.4101, allocations: 89.41 kB / 0.8592 GB, free: 28.7 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.4101, allocations: 3.875 kB / 0.8592 GB, free: 28.7 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.4101, allocations: 8.719 kB / 0.8592 GB, free: 28.7 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.4103, allocations: 80.5 kB / 0.8593 GB, free: 28.7 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.4103, allocations: 6.828 kB / 0.8593 GB, free: 28.7 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.4104, allocations: 25.7 kB / 0.8593 GB, free: 28.7 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.4104, allocations: 18.25 kB / 0.8594 GB, free: 28.7 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.0001902/0.4106, allocations: 226.3 kB / 0.8596 GB, free: 28.51 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.281e-05/0.4107, allocations: 36.97 kB / 0.8596 GB, free: 28.49 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.044e-05/0.4107, allocations: 36.62 kB / 0.8596 GB, free: 28.48 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.4107, allocations: 0 / 0.8596 GB, free: 28.48 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4107, allocations: 1.156 kB / 0.8596 GB, free: 28.48 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.4107, allocations: 2.203 kB / 0.8596 GB, free: 28.48 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007174/0.4114, allocations: 0.7687 MB / 0.8604 GB, free: 28.11 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.4114, allocations: 0 / 0.8604 GB, free: 28.11 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.4116, allocations: 50.55 kB / 0.8604 GB, free: 28.11 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4116, allocations: 0 / 0.8604 GB, free: 28.11 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.4116, allocations: 15.16 kB / 0.8605 GB, free: 28.11 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.4116, allocations: 2.125 kB / 0.8605 GB, free: 28.11 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.4116, allocations: 0 / 0.8605 GB, free: 28.11 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000588/0.4122, allocations: 0.7347 MB / 0.8612 GB, free: 27.76 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.745e-05/0.4122, allocations: 27.66 kB / 0.8612 GB, free: 27.75 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/0.4123, allocations: 10.77 kB / 0.8612 GB, free: 27.75 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.4124, allocations: 17.09 kB / 0.8612 GB, free: 27.75 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.068e-05/0.4125, allocations: 30.44 kB / 0.8613 GB, free: 27.75 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.4125, allocations: 16.8 kB / 0.8613 GB, free: 27.75 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001113/0.4126, allocations: 174.2 kB / 0.8614 GB, free: 27.66 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.4126, allocations: 0 / 0.8614 GB, free: 27.66 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002378/0.4128, allocations: 89.5 kB / 0.8615 GB, free: 27.66 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.0001095/0.413, allocations: 120.1 kB / 0.8616 GB, free: 27.57 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004842/0.4134, allocations: 0.5678 MB / 0.8622 GB, free: 27.21 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.4134, allocations: 0.5625 kB / 0.8622 GB, free: 27.21 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.4136, allocations: 297.9 kB / 0.8625 GB, free: 27.02 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.414, allocations: 90.56 kB / 0.8626 GB, free: 27.02 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.4153, allocations: 0.9662 MB / 0.8635 GB, free: 26.55 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.4154, allocations: 158.9 kB / 0.8637 GB, free: 26.47 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.322e-05/0.4154, allocations: 31.38 kB / 0.8637 GB, free: 26.46 MB / 490.8 MB Notification: Performance of SimCode: time 8.71e-07/0.4154, allocations: 1.312 kB / 0.8637 GB, free: 26.46 MB / 490.8 MB Notification: Performance of Templates: time 0.006337/0.4218, allocations: 4.009 MB / 0.8676 GB, free: 26.1 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.360495913773775]