Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin_Merchant2013_reference.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.0007575/0.0007575, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009337/0.001691, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007288/0.0007288, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001015/0.001744, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9767/0.9767, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1015/1.078, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.8051/0.8051, allocations: 291.2 MB / 0.5226 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03996/0.845, allocations: 21.05 MB / 0.5432 GB, free: 31.5 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.N05CH01_Melatonin.Melatonin_Merchant2013_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin_Merchant2013_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin_Merchant2013_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin_Merchant2013_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 0.5445 GB, free: 30.13 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.924e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.12 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin_Merchant2013_reference): time 0.00306/0.00308, allocations: 2.488 MB / 0.5469 GB, free: 27.62 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005431/0.008511, allocations: 6.688 MB / 0.5535 GB, free: 20.92 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.008674, allocations: 3.938 kB / 0.5535 GB, free: 20.92 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.224e-05/0.008766, allocations: 31.72 kB / 0.5535 GB, free: 20.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.008927, allocations: 83.33 kB / 0.5536 GB, free: 20.8 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001541/0.009081, allocations: 55.75 kB / 0.5536 GB, free: 20.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.009296, allocations: 270.6 kB / 0.5539 GB, free: 20.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.009414, allocations: 38.55 kB / 0.5539 GB, free: 20.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.009607, allocations: 168.3 kB / 0.5541 GB, free: 20.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.009769, allocations: 91.7 kB / 0.5542 GB, free: 20.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.009795, allocations: 16 kB / 0.5542 GB, free: 20.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.153e-05/0.009816, allocations: 20 kB / 0.5542 GB, free: 20.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.947e-05/0.009846, allocations: 31.88 kB / 0.5542 GB, free: 20.13 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.838e-05/0.009904, allocations: 59.88 kB / 0.5543 GB, free: 20.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.01008, allocations: 139.5 kB / 0.5544 GB, free: 19.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.507e-05/0.0101, allocations: 0 / 0.5544 GB, free: 19.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.0101, allocations: 0 / 0.5544 GB, free: 19.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.01012, allocations: 4 kB / 0.5544 GB, free: 19.93 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005946/0.01071, allocations: 0.4898 MB / 0.5549 GB, free: 19.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.01075, allocations: 15.84 kB / 0.5549 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.884e-05/0.01079, allocations: 32.91 kB / 0.555 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.01096, allocations: 183 kB / 0.5551 GB, free: 19.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.01098, allocations: 12.61 kB / 0.5551 GB, free: 19.13 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.01101, allocations: 12.38 kB / 0.5552 GB, free: 19.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.01117, allocations: 163.4 kB / 0.5553 GB, free: 18.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.01119, allocations: 0 / 0.5553 GB, free: 18.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.0112, allocations: 8 kB / 0.5553 GB, free: 18.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.01121, allocations: 3.984 kB / 0.5553 GB, free: 18.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.717e-05/0.01129, allocations: 76.64 kB / 0.5554 GB, free: 18.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.01172, allocations: 376.3 kB / 0.5558 GB, free: 18.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.01191, allocations: 100.2 kB / 0.5558 GB, free: 18.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.813e-05/0.01194, allocations: 58.55 kB / 0.5559 GB, free: 18.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.01196, allocations: 4 kB / 0.5559 GB, free: 18.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/0.01211, allocations: 195.1 kB / 0.5561 GB, free: 18.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.814e-06/0.01211, allocations: 0 / 0.5561 GB, free: 18.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005552/0.01267, allocations: 0.5132 MB / 0.5566 GB, free: 17.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.01271, allocations: 136.5 kB / 0.5567 GB, free: 17.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.659e-05/0.01279, allocations: 206 kB / 0.5569 GB, free: 17.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.01281, allocations: 33.7 kB / 0.557 GB, free: 17.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.412e-05/0.01284, allocations: 116.4 kB / 0.5571 GB, free: 16.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.01287, allocations: 71.47 kB / 0.5571 GB, free: 16.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.715e-05/0.01292, allocations: 47.19 kB / 0.5572 GB, free: 16.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.315e-05/0.01296, allocations: 338.8 kB / 0.5575 GB, free: 16.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.907e-05/0.01301, allocations: 93 kB / 0.5576 GB, free: 16.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.727e-05/0.01308, allocations: 181.3 kB / 0.5578 GB, free: 16.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.01319, allocations: 221.5 kB / 0.558 GB, free: 15.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.01319, allocations: 0 / 0.558 GB, free: 15.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001509/0.01334, allocations: 256.3 kB / 0.5582 GB, free: 15.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/0.01337, allocations: 63.39 kB / 0.5583 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.01338, allocations: 7.938 kB / 0.5583 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.01339, allocations: 4 kB / 0.5583 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.01355, allocations: 59.97 kB / 0.5583 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.01356, allocations: 10.59 kB / 0.5584 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.726e-05/0.01364, allocations: 19.92 kB / 0.5584 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.01365, allocations: 12.22 kB / 0.5584 GB, free: 15.44 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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001138/0.01376, allocations: 173.6 kB / 0.5586 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.01378, allocations: 15.98 kB / 0.5586 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.69e-05/0.01382, allocations: 25.95 kB / 0.5586 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01382, allocations: 4 kB / 0.5586 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.01382, allocations: 0 / 0.5586 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.01383, allocations: 0 / 0.5586 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.01408, allocations: 385 kB / 0.559 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.01409, allocations: 11.31 kB / 0.559 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.01421, allocations: 35.97 kB / 0.559 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.166e-05/0.01423, allocations: 23.86 kB / 0.559 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.01424, allocations: 0 / 0.559 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.01425, allocations: 7.984 kB / 0.559 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.01425, allocations: 0 / 0.559 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01425, allocations: 0 / 0.559 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2861/0.3003, allocations: 345.8 kB / 0.5594 GB, free: 79.48 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.865e-05/0.3004, allocations: 6.688 kB / 0.5594 GB, free: 79.48 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.3005, allocations: 14.88 kB / 0.5594 GB, free: 79.48 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.3006, allocations: 18.81 kB / 0.5594 GB, free: 79.48 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.3006, allocations: 10.5 kB / 0.5594 GB, free: 79.48 MB / 410.8 MB Notification: Performance of sorting global known variables: time 6.901e-05/0.3006, allocations: 58.66 kB / 0.5595 GB, free: 79.48 MB / 410.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3006, allocations: 1.906 kB / 0.5595 GB, free: 79.48 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000203/0.3008, allocations: 55.88 kB / 0.5595 GB, free: 79.48 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001149/0.301, allocations: 99.88 kB / 0.5596 GB, free: 79.41 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002225/0.3012, allocations: 307.1 kB / 0.5599 GB, free: 79.18 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/0.3012, allocations: 2.125 kB / 0.5599 GB, free: 79.18 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 7.843e-05/0.3013, allocations: 147.7 kB / 0.5601 GB, free: 79.08 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.3015, allocations: 85.12 kB / 0.5601 GB, free: 79.08 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00553/0.3071, allocations: 0.5706 MB / 0.5607 GB, free: 78.82 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.715e-05/0.3071, allocations: 81.84 kB / 0.5608 GB, free: 78.75 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 9.456e-05/0.3072, allocations: 24 kB / 0.5608 GB, free: 78.75 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.3074, allocations: 120 kB / 0.5609 GB, free: 78.7 MB / 410.8 MB Notification: Performance of SimCode: time 9.71e-07/0.3074, allocations: 0 / 0.5609 GB, free: 78.7 MB / 410.8 MB Notification: Performance of Templates: time 0.006625/0.314, allocations: 3.809 MB / 0.5646 GB, free: 78.51 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin_Merchant2013_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin_Merchant2013_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin_Merchant2013_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin_Merchant2013_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin_Merchant2013_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin_Merchant2013_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin_Merchant2013_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.994967515580356]