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.001062/0.001062, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001295/0.001295, allocations: 165.9 kB / 23.21 MB, free: 1.332 MB / 18.57 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 0.9372/0.9372, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.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.7604/0.7604, allocations: 291.2 MB / 0.5382 GB, free: 51.88 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: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.6974 GB, free: 10.37 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.804e-05, allocations: 6.219 kB / 0.6974 GB, free: 10.36 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam): time 0.003372/0.0034, allocations: 2.717 MB / 0.7001 GB, free: 7.621 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.006215/0.009615, allocations: 6.611 MB / 0.7065 GB, free: 1 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.009755, allocations: 4 kB / 0.7065 GB, free: 0.9961 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.178e-05/0.009847, allocations: 39.56 kB / 0.7066 GB, free: 0.957 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002031/0.01005, allocations: 130.9 kB / 0.7067 GB, free: 0.8281 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001799/0.01023, allocations: 67.84 kB / 0.7067 GB, free: 0.7617 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002101/0.01044, allocations: 397.8 kB / 0.7071 GB, free: 380 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.01055, allocations: 52.89 kB / 0.7072 GB, free: 332 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.01068, allocations: 207.5 kB / 0.7074 GB, free: 124 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.01082, allocations: 119.6 kB / 0.7075 GB, free: 4 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/0.01086, allocations: 28.05 kB / 0.7075 GB, free: 15.97 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.004e-05/0.01089, allocations: 24 kB / 0.7075 GB, free: 15.95 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 3.415e-05/0.01092, allocations: 55.66 kB / 0.7076 GB, free: 15.9 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 7.875e-05/0.011, allocations: 115.8 kB / 0.7077 GB, free: 15.79 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.01121, allocations: 291.1 kB / 0.708 GB, free: 15.5 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.01121, allocations: 0 / 0.708 GB, free: 15.5 MB / 426.8 MB Notification: Performance of FrontEnd: time 5.81e-07/0.01121, allocations: 0 / 0.708 GB, free: 15.5 MB / 426.8 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.01122, allocations: 0 / 0.708 GB, free: 15.5 MB / 426.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.0005979/0.01182, allocations: 0.6028 MB / 0.7086 GB, free: 14.85 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.556e-05/0.01184, allocations: 8.031 kB / 0.7086 GB, free: 14.84 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.01189, allocations: 32.75 kB / 0.7086 GB, free: 14.81 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.01207, allocations: 216.7 kB / 0.7088 GB, free: 14.57 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.01209, allocations: 16.75 kB / 0.7088 GB, free: 14.56 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.01212, allocations: 24.38 kB / 0.7089 GB, free: 14.54 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.01241, allocations: 296.5 kB / 0.7091 GB, free: 14.22 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.01243, allocations: 3.953 kB / 0.7091 GB, free: 14.22 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.01244, allocations: 12 kB / 0.7092 GB, free: 14.21 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.01245, allocations: 8 kB / 0.7092 GB, free: 14.2 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002615/0.01271, allocations: 232.4 kB / 0.7094 GB, free: 13.96 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006771/0.01338, allocations: 0.6756 MB / 0.71 GB, free: 13.24 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.0137, allocations: 243.9 kB / 0.7103 GB, free: 12.98 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.01384, allocations: 152.4 kB / 0.7104 GB, free: 12.82 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.01385, allocations: 4 kB / 0.7104 GB, free: 12.81 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002691/0.01412, allocations: 360.9 kB / 0.7108 GB, free: 12.41 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.272e-06/0.01412, allocations: 0 / 0.7108 GB, free: 12.41 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001122/0.01524, allocations: 1.082 MB / 0.7118 GB, free: 11.24 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.577e-05/0.01531, allocations: 221.6 kB / 0.712 GB, free: 10.98 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.01548, allocations: 237.9 kB / 0.7123 GB, free: 10.74 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.0155, allocations: 41.69 kB / 0.7123 GB, free: 10.69 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.758e-05/0.01557, allocations: 156.8 kB / 0.7125 GB, free: 10.53 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.473e-05/0.01563, allocations: 115.1 kB / 0.7126 GB, free: 10.42 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.077e-05/0.0157, allocations: 78.19 kB / 0.7126 GB, free: 10.33 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.26e-05/0.01578, allocations: 342.8 kB / 0.713 GB, free: 9.988 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.01597, allocations: 211.9 kB / 0.7132 GB, free: 9.762 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.01618, allocations: 311.2 kB / 0.7135 GB, free: 9.398 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/0.01653, allocations: 431 kB / 0.7139 GB, free: 8.91 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01653, allocations: 0 / 0.7139 GB, free: 8.91 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004813/0.01701, allocations: 0.5536 MB / 0.7144 GB, free: 8.312 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.085e-05/0.01705, allocations: 93.09 kB / 0.7145 GB, free: 8.203 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.01705, allocations: 0 / 0.7145 GB, free: 8.203 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.01707, allocations: 8 kB / 0.7145 GB, free: 8.195 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.01722, allocations: 75.83 kB / 0.7146 GB, free: 8.121 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.01722, allocations: 8.328 kB / 0.7146 GB, free: 8.113 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.01734, allocations: 27.98 kB / 0.7146 GB, free: 8.086 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.01736, allocations: 16 kB / 0.7146 GB, free: 8.07 MB / 426.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.0001584/0.01752, allocations: 221.5 kB / 0.7148 GB, free: 7.832 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.01755, allocations: 27.81 kB / 0.7149 GB, free: 7.805 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/0.01758, allocations: 34.95 kB / 0.7149 GB, free: 7.77 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.01758, allocations: 7.984 kB / 0.7149 GB, free: 7.762 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01759, allocations: 0 / 0.7149 GB, free: 7.762 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01759, allocations: 4 kB / 0.7149 GB, free: 7.758 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006708/0.01826, allocations: 0.7677 MB / 0.7157 GB, free: 6.93 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01826, allocations: 4 kB / 0.7157 GB, free: 6.926 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.01841, allocations: 55.91 kB / 0.7157 GB, free: 6.871 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.01841, allocations: 4 kB / 0.7157 GB, free: 6.867 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.01842, allocations: 11.98 kB / 0.7157 GB, free: 6.855 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01843, allocations: 0 / 0.7157 GB, free: 6.855 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.01843, allocations: 3.938 kB / 0.7157 GB, free: 6.852 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005826/0.01901, allocations: 0.7269 MB / 0.7164 GB, free: 6.066 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.338e-05/0.01904, allocations: 31.86 kB / 0.7165 GB, free: 6.035 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.01908, allocations: 8 kB / 0.7165 GB, free: 6.027 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.665e-05/0.01917, allocations: 19.98 kB / 0.7165 GB, free: 6.008 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.639e-05/0.01923, allocations: 27.89 kB / 0.7165 GB, free: 5.98 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.01924, allocations: 19.92 kB / 0.7166 GB, free: 5.961 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001086/0.01935, allocations: 177.2 kB / 0.7167 GB, free: 5.789 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01935, allocations: 0 / 0.7167 GB, free: 5.789 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002178/0.01957, allocations: 88 kB / 0.7168 GB, free: 5.703 MB / 426.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 9.192e-05/0.01966, allocations: 126.9 kB / 0.7169 GB, free: 5.574 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004428/0.0201, allocations: 0.5611 MB / 0.7175 GB, free: 4.949 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 8.61e-07/0.02011, allocations: 0 / 0.7175 GB, free: 4.949 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002092/0.02031, allocations: 306.1 kB / 0.7178 GB, free: 4.613 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.02061, allocations: 84.55 kB / 0.7178 GB, free: 4.531 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008472/0.02146, allocations: 0.8125 MB / 0.7186 GB, free: 3.676 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.885e-05/0.02155, allocations: 160.3 kB / 0.7188 GB, free: 3.496 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.087e-05/0.02161, allocations: 36.44 kB / 0.7188 GB, free: 3.461 MB / 426.8 MB Notification: Performance of SimCode: time 3.6e-07/0.02161, allocations: 0 / 0.7188 GB, free: 3.461 MB / 426.8 MB Notification: Performance of Templates: time 0.1886/0.2102, allocations: 4.018 MB / 0.7228 GB, free: 36.85 MB / 426.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: 5.8234197134152055]