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.0007727/0.0007727, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001169/0.001941, allocations: 440 kB / 10.41 MB, free: 284 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.001571/0.001571, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0018/0.003371, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.087/1.087, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09876/1.185, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.7693/0.7693, allocations: 291.1 MB / 0.5227 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03148/0.8007, allocations: 21.04 MB / 0.5433 GB, free: 31.48 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 2.615e-06/2.615e-06, allocations: 0 / 0.5447 GB, free: 30.08 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.647e-05, allocations: 2.312 kB / 0.5447 GB, free: 30.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin_Merchant2013_reference): time 0.002623/0.002649, allocations: 2.491 MB / 0.5471 GB, free: 27.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004491/0.00714, allocations: 6.7 MB / 0.5537 GB, free: 20.86 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.007241, allocations: 0 / 0.5537 GB, free: 20.86 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.476e-05/0.007316, allocations: 27.72 kB / 0.5537 GB, free: 20.83 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.007465, allocations: 87.27 kB / 0.5538 GB, free: 20.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001423/0.007607, allocations: 59.8 kB / 0.5538 GB, free: 20.69 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.007788, allocations: 266.6 kB / 0.5541 GB, free: 20.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.007906, allocations: 38.55 kB / 0.5541 GB, free: 20.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.008076, allocations: 176.2 kB / 0.5543 GB, free: 20.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.008241, allocations: 83.78 kB / 0.5544 GB, free: 20.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.008266, allocations: 19.94 kB / 0.5544 GB, free: 20.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.354e-05/0.00829, allocations: 16 kB / 0.5544 GB, free: 20.1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.959e-05/0.00832, allocations: 31.88 kB / 0.5544 GB, free: 20.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.276e-05/0.008372, allocations: 63.92 kB / 0.5545 GB, free: 20.01 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.008535, allocations: 139.4 kB / 0.5546 GB, free: 19.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.188e-05/0.008547, allocations: 0 / 0.5546 GB, free: 19.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.008548, allocations: 0 / 0.5546 GB, free: 19.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.008556, allocations: 0 / 0.5546 GB, free: 19.87 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.0005626/0.009119, allocations: 0.4937 MB / 0.5551 GB, free: 19.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.00915, allocations: 15.84 kB / 0.5551 GB, free: 19.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.567e-05/0.009195, allocations: 32.91 kB / 0.5551 GB, free: 19.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.009351, allocations: 179 kB / 0.5553 GB, free: 19.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.009369, allocations: 12.61 kB / 0.5553 GB, free: 19.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.009395, allocations: 12.38 kB / 0.5553 GB, free: 19.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.009558, allocations: 163.4 kB / 0.5555 GB, free: 18.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.00957, allocations: 0 / 0.5555 GB, free: 18.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.00958, allocations: 4 kB / 0.5555 GB, free: 18.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.009585, allocations: 0 / 0.5555 GB, free: 18.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.762e-05/0.009663, allocations: 82.28 kB / 0.5556 GB, free: 18.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003868/0.01005, allocations: 368.5 kB / 0.5559 GB, free: 18.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.01023, allocations: 104.2 kB / 0.556 GB, free: 18.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.757e-05/0.01026, allocations: 62.53 kB / 0.5561 GB, free: 18.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.01028, allocations: 4 kB / 0.5561 GB, free: 18.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000141/0.01042, allocations: 196.3 kB / 0.5563 GB, free: 18.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.423e-06/0.01042, allocations: 0 / 0.5563 GB, free: 18.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005606/0.01098, allocations: 0.5197 MB / 0.5568 GB, free: 17.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.01102, allocations: 166.2 kB / 0.5569 GB, free: 17.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.326e-05/0.01111, allocations: 202 kB / 0.5571 GB, free: 17.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.01112, allocations: 37.69 kB / 0.5572 GB, free: 16.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.609e-05/0.01116, allocations: 116.4 kB / 0.5573 GB, free: 16.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.01119, allocations: 67.47 kB / 0.5573 GB, free: 16.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.711e-05/0.01124, allocations: 51.17 kB / 0.5574 GB, free: 16.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.617e-05/0.01127, allocations: 338.8 kB / 0.5577 GB, free: 16.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.001e-05/0.01132, allocations: 101 kB / 0.5578 GB, free: 16.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.354e-05/0.01139, allocations: 173.3 kB / 0.558 GB, free: 16.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.01149, allocations: 215.7 kB / 0.5582 GB, free: 15.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.01149, allocations: 0 / 0.5582 GB, free: 15.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001565/0.01165, allocations: 271.3 kB / 0.5584 GB, free: 15.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.244e-05/0.01168, allocations: 63.41 kB / 0.5585 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.01169, allocations: 0 / 0.5585 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.0117, allocations: 4 kB / 0.5585 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.01187, allocations: 63.89 kB / 0.5586 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.01187, allocations: 10.67 kB / 0.5586 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.878e-05/0.01195, allocations: 20.14 kB / 0.5586 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.01196, allocations: 16 kB / 0.5586 GB, free: 15.34 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.0001055/0.01207, allocations: 176.4 kB / 0.5588 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.01209, allocations: 15.98 kB / 0.5588 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.192e-05/0.01212, allocations: 29.95 kB / 0.5588 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.01213, allocations: 0 / 0.5588 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.01213, allocations: 0 / 0.5588 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.01213, allocations: 0 / 0.5588 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2986/0.3107, allocations: 367.3 kB / 0.5592 GB, free: 79.1 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.3107, allocations: 7.125 kB / 0.5592 GB, free: 79.1 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.311, allocations: 44.53 kB / 0.5592 GB, free: 79.1 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-05/0.311, allocations: 17.66 kB / 0.5592 GB, free: 79.1 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.311, allocations: 2 kB / 0.5592 GB, free: 79.1 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.3111, allocations: 6.516 kB / 0.5593 GB, free: 79.1 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3111, allocations: 0 / 0.5593 GB, free: 79.1 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3111, allocations: 6.375 kB / 0.5593 GB, free: 79.1 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.3113, allocations: 349 kB / 0.5596 GB, free: 78.88 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.3114, allocations: 7.734 kB / 0.5596 GB, free: 78.88 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.3115, allocations: 14.44 kB / 0.5596 GB, free: 78.88 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.319e-05/0.3115, allocations: 19.91 kB / 0.5596 GB, free: 78.88 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.3115, allocations: 7.266 kB / 0.5596 GB, free: 78.88 MB / 410.8 MB Notification: Performance of sorting global known variables: time 6.38e-05/0.3116, allocations: 63.72 kB / 0.5597 GB, free: 78.87 MB / 410.8 MB Notification: Performance of sort global known variables: time 4e-08/0.3116, allocations: 0 / 0.5597 GB, free: 78.87 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002099/0.3118, allocations: 59.12 kB / 0.5598 GB, free: 78.87 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.0001112/0.3119, allocations: 96.5 kB / 0.5598 GB, free: 78.8 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002127/0.3121, allocations: 310.6 kB / 0.5601 GB, free: 78.57 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/0.3121, allocations: 2.281 kB / 0.5601 GB, free: 78.57 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 9.346e-05/0.3122, allocations: 158.4 kB / 0.5603 GB, free: 78.47 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.3126, allocations: 0.499 MB / 0.5608 GB, free: 77.97 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005454/0.318, allocations: 0.5546 MB / 0.5613 GB, free: 77.7 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.557e-05/0.3181, allocations: 85.92 kB / 0.5614 GB, free: 77.63 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.3182, allocations: 23.89 kB / 0.5614 GB, free: 77.63 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.3184, allocations: 114 kB / 0.5615 GB, free: 77.59 MB / 410.8 MB Notification: Performance of SimCode: time 1.393e-06/0.3184, allocations: 1.656 kB / 0.5615 GB, free: 77.59 MB / 410.8 MB Notification: Performance of Templates: time 0.007616/0.326, allocations: 3.805 MB / 0.5653 GB, free: 77.39 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: 4.074589748866856]