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.001921/0.001921, allocations: 105.5 kB / 18.95 MB, free: 1.18 MB / 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.002102/0.002102, allocations: 218.4 kB / 22.25 MB, free: 3.703 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.743/1.743, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 178] 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 1.498/1.498, allocations: 316.7 MB / 0.6144 GB, free: 92.95 MB / 410.7 MB " [Timeout remaining time 178] 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.003804/0.003804, allocations: 73.33 kB / 0.775 GB, free: 14.77 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.178, allocations: 73.99 MB / 0.8473 GB, free: 4.93 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam): time 0.00464/0.1826, allocations: 2.721 MB / 0.8499 GB, free: 2.207 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.323/0.5056, allocations: 6.595 MB / 0.8564 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003042/0.5059, allocations: 5.625 kB / 0.8564 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.5061, allocations: 41.98 kB / 0.8564 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003419/0.5065, allocations: 116.9 kB / 0.8565 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.5068, allocations: 72.33 kB / 0.8566 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005091/0.5073, allocations: 376.9 kB / 0.857 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002348/0.5075, allocations: 55.92 kB / 0.857 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002204/0.5077, allocations: 144.7 kB / 0.8571 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003273/0.5081, allocations: 137.4 kB / 0.8573 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 5.135e-05/0.5081, allocations: 25.78 kB / 0.8573 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.505e-05/0.5082, allocations: 25.53 kB / 0.8573 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.467e-05/0.5082, allocations: 58.06 kB / 0.8574 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.5084, allocations: 135.5 kB / 0.8575 GB, free: 21.79 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003855/0.5088, allocations: 288.5 kB / 0.8578 GB, free: 21.74 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.5088, allocations: 0.5938 kB / 0.8578 GB, free: 21.74 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5088, allocations: 2.719 kB / 0.8578 GB, free: 21.74 MB / 490.8 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.5088, allocations: 0 / 0.8578 GB, free: 21.74 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.001068/0.5099, allocations: 0.5971 MB / 0.8584 GB, free: 21.28 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.5099, allocations: 7.719 kB / 0.8584 GB, free: 21.28 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.388e-05/0.51, allocations: 33.78 kB / 0.8584 GB, free: 21.26 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.5103, allocations: 217.7 kB / 0.8586 GB, free: 21.1 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.5103, allocations: 14.91 kB / 0.8586 GB, free: 21.1 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.239e-05/0.5103, allocations: 27.47 kB / 0.8587 GB, free: 21.1 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004951/0.5108, allocations: 286 kB / 0.8589 GB, free: 20.98 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.5109, allocations: 6.078 kB / 0.8589 GB, free: 20.98 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.5109, allocations: 6.375 kB / 0.8589 GB, free: 20.98 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.5109, allocations: 5.156 kB / 0.859 GB, free: 20.98 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004644/0.5114, allocations: 234.3 kB / 0.8592 GB, free: 20.91 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.5125, allocations: 0.6795 MB / 0.8598 GB, free: 20.56 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005405/0.5131, allocations: 237.8 kB / 0.8601 GB, free: 20.47 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002411/0.5133, allocations: 152.9 kB / 0.8602 GB, free: 20.4 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.5133, allocations: 4.406 kB / 0.8602 GB, free: 20.4 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000431/0.5138, allocations: 360.6 kB / 0.8606 GB, free: 20.16 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 2.134e-06/0.5138, allocations: 1.438 kB / 0.8606 GB, free: 20.16 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001876/0.5157, allocations: 1.082 MB / 0.8616 GB, free: 19.61 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.63e-05/0.5157, allocations: 221.4 kB / 0.8618 GB, free: 19.36 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.5159, allocations: 242.7 kB / 0.8621 GB, free: 19.25 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.516, allocations: 38.14 kB / 0.8621 GB, free: 19.22 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.849e-05/0.5161, allocations: 158.3 kB / 0.8622 GB, free: 19.11 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.355e-05/0.5161, allocations: 120.7 kB / 0.8624 GB, free: 19.04 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.441e-05/0.5162, allocations: 70.77 kB / 0.8624 GB, free: 19.03 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.798e-05/0.5163, allocations: 343.8 kB / 0.8628 GB, free: 18.71 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/0.5166, allocations: 206.8 kB / 0.863 GB, free: 18.61 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003536/0.517, allocations: 320.6 kB / 0.8633 GB, free: 18.38 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006066/0.5176, allocations: 431.4 kB / 0.8637 GB, free: 18.11 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5176, allocations: 0 / 0.8637 GB, free: 18.11 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008665/0.5184, allocations: 0.5498 MB / 0.8642 GB, free: 17.86 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.992e-05/0.5185, allocations: 92.28 kB / 0.8643 GB, free: 17.76 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.5185, allocations: 2.25 kB / 0.8643 GB, free: 17.76 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/0.5185, allocations: 6.625 kB / 0.8643 GB, free: 17.76 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/0.5189, allocations: 81.53 kB / 0.8644 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/0.5189, allocations: 6.484 kB / 0.8644 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.5191, allocations: 25.17 kB / 0.8644 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.5191, allocations: 17.2 kB / 0.8644 GB, free: 17.75 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.0002222/0.5194, allocations: 226.5 kB / 0.8646 GB, free: 17.57 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.783e-05/0.5194, allocations: 32.08 kB / 0.8647 GB, free: 17.55 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.241e-05/0.5195, allocations: 33.47 kB / 0.8647 GB, free: 17.54 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.5195, allocations: 6.812 kB / 0.8647 GB, free: 17.54 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.5195, allocations: 1 kB / 0.8647 GB, free: 17.54 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.5195, allocations: 5.625 kB / 0.8647 GB, free: 17.54 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.5207, allocations: 0.7629 MB / 0.8655 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5207, allocations: 1.188 kB / 0.8655 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/0.521, allocations: 51.55 kB / 0.8655 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.521, allocations: 6.844 kB / 0.8655 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.549e-05/0.521, allocations: 17.3 kB / 0.8655 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.521, allocations: 2.328 kB / 0.8655 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.521, allocations: 0.5938 kB / 0.8655 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.5221, allocations: 0.7221 MB / 0.8662 GB, free: 16.81 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.256e-05/0.5222, allocations: 27.98 kB / 0.8663 GB, free: 16.79 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.331e-05/0.5222, allocations: 20.75 kB / 0.8663 GB, free: 16.79 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.5224, allocations: 17.02 kB / 0.8663 GB, free: 16.79 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.5225, allocations: 30.69 kB / 0.8663 GB, free: 16.79 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/0.5226, allocations: 14.77 kB / 0.8664 GB, free: 16.79 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001807/0.5227, allocations: 175.4 kB / 0.8665 GB, free: 16.71 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5227, allocations: 1.656 kB / 0.8665 GB, free: 16.71 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.000394/0.5231, allocations: 84.69 kB / 0.8666 GB, free: 16.71 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.0001421/0.5233, allocations: 123.3 kB / 0.8667 GB, free: 16.62 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0008018/0.5241, allocations: 0.5715 MB / 0.8673 GB, free: 16.25 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.5241, allocations: 0.6875 kB / 0.8673 GB, free: 16.25 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003629/0.5244, allocations: 300.8 kB / 0.8676 GB, free: 16.06 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005804/0.525, allocations: 88.78 kB / 0.8677 GB, free: 16.05 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.5267, allocations: 0.9401 MB / 0.8686 GB, free: 15.56 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.5269, allocations: 160.1 kB / 0.8687 GB, free: 15.48 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001609/0.527, allocations: 30.67 kB / 0.8688 GB, free: 15.48 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.559e-05/0.5271, allocations: 32.69 kB / 0.8688 GB, free: 15.47 MB / 490.8 MB Notification: Performance of SimCode: time 7.01e-07/0.5271, allocations: 1.375 kB / 0.8688 GB, free: 15.47 MB / 490.8 MB Notification: Performance of Templates: time 0.01149/0.5386, allocations: 4.984 MB / 0.8737 GB, free: 14.98 MB / 490.8 MB " [Timeout remaining time 659] 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.032028881832957]