Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin.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.0009761/0.0009761, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001456/0.002432, allocations: 435.8 kB / 10.31 MB, free: 384 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.0009423/0.0009423, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001247/0.002189, allocations: 463.6 kB / 11.65 MB, free: 2.516 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.9833/0.9833, allocations: 177.1 MB / 189.5 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09033/1.074, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.8223/0.8223, allocations: 291.2 MB / 0.5226 GB, free: 52.91 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03488/0.8572, allocations: 21.04 MB / 0.5431 GB, free: 31.94 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.274e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin): time 0.002618/0.002641, allocations: 2.492 MB / 0.5469 GB, free: 28.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009989/0.01263, allocations: 6.688 MB / 0.5535 GB, free: 21.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.01275, allocations: 0 / 0.5535 GB, free: 21.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.384e-05/0.01283, allocations: 27.72 kB / 0.5535 GB, free: 21.31 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.01299, allocations: 91.25 kB / 0.5536 GB, free: 21.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001563/0.01315, allocations: 51.81 kB / 0.5536 GB, free: 21.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.01338, allocations: 266.6 kB / 0.5539 GB, free: 20.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.01352, allocations: 34.55 kB / 0.5539 GB, free: 20.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002219/0.01374, allocations: 184.2 kB / 0.5541 GB, free: 20.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.01394, allocations: 83.78 kB / 0.5542 GB, free: 20.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.01396, allocations: 19.94 kB / 0.5542 GB, free: 20.6 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.454e-05/0.01399, allocations: 20 kB / 0.5542 GB, free: 20.58 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.863e-05/0.01402, allocations: 27.88 kB / 0.5542 GB, free: 20.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.384e-05/0.01408, allocations: 59.94 kB / 0.5543 GB, free: 20.49 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.01428, allocations: 143.4 kB / 0.5544 GB, free: 20.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.985e-05/0.0143, allocations: 0 / 0.5544 GB, free: 20.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.0143, allocations: 0 / 0.5544 GB, free: 20.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.633e-05/0.01432, allocations: 0 / 0.5544 GB, free: 20.35 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.0006793/0.015, allocations: 0.4937 MB / 0.5549 GB, free: 19.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.01504, allocations: 15.89 kB / 0.5549 GB, free: 19.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.55e-05/0.01509, allocations: 28.91 kB / 0.5549 GB, free: 19.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.01529, allocations: 175 kB / 0.5551 GB, free: 19.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.01532, allocations: 12.61 kB / 0.5551 GB, free: 19.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.01534, allocations: 16.36 kB / 0.5551 GB, free: 19.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.01553, allocations: 155.5 kB / 0.5553 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.01554, allocations: 3.984 kB / 0.5553 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.01555, allocations: 4 kB / 0.5553 GB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.902e-06/0.01556, allocations: 4 kB / 0.5553 GB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.01566, allocations: 80.64 kB / 0.5554 GB, free: 19.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004961/0.01616, allocations: 365 kB / 0.5557 GB, free: 18.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.01634, allocations: 116.1 kB / 0.5558 GB, free: 18.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.658e-05/0.01638, allocations: 62.53 kB / 0.5559 GB, free: 18.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.01639, allocations: 4 kB / 0.5559 GB, free: 18.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/0.01654, allocations: 194.2 kB / 0.5561 GB, free: 18.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.783e-06/0.01654, allocations: 0 / 0.5561 GB, free: 18.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006164/0.01716, allocations: 0.5094 MB / 0.5566 GB, free: 17.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.0172, allocations: 136.5 kB / 0.5567 GB, free: 17.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.01731, allocations: 210 kB / 0.5569 GB, free: 17.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.01732, allocations: 33.7 kB / 0.5569 GB, free: 17.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/0.01738, allocations: 112.4 kB / 0.5571 GB, free: 17.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.01743, allocations: 67.47 kB / 0.5571 GB, free: 17.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-05/0.01748, allocations: 55.17 kB / 0.5572 GB, free: 17.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.503e-05/0.01756, allocations: 334.8 kB / 0.5575 GB, free: 16.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.172e-05/0.01762, allocations: 101 kB / 0.5576 GB, free: 16.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.711e-05/0.01769, allocations: 179.7 kB / 0.5578 GB, free: 16.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.01781, allocations: 203.8 kB / 0.5579 GB, free: 16.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.01781, allocations: 3.984 kB / 0.558 GB, free: 16.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001822/0.01799, allocations: 267.5 kB / 0.5582 GB, free: 16.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/0.01803, allocations: 59.41 kB / 0.5583 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.01804, allocations: 0 / 0.5583 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.01805, allocations: 4 kB / 0.5583 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.01822, allocations: 71.89 kB / 0.5583 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.01823, allocations: 9.656 kB / 0.5583 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.893e-05/0.01831, allocations: 28.14 kB / 0.5584 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.01832, allocations: 4 kB / 0.5584 GB, free: 15.87 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.0001241/0.01845, allocations: 169.6 kB / 0.5585 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.01847, allocations: 23.98 kB / 0.5586 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.241e-05/0.0185, allocations: 25.95 kB / 0.5586 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.0185, allocations: 0 / 0.5586 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.01851, allocations: 4 kB / 0.5586 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.247e-06/0.01851, allocations: 0 / 0.5586 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.01877, allocations: 374.3 kB / 0.5589 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01877, allocations: 3.938 kB / 0.559 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.0189, allocations: 43.91 kB / 0.559 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.093e-05/0.01892, allocations: 19.84 kB / 0.559 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.01892, allocations: 4 kB / 0.559 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.01893, allocations: 4 kB / 0.559 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01893, allocations: 4 kB / 0.559 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01893, allocations: 3.938 kB / 0.559 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.01914, allocations: 351.6 kB / 0.5594 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.01917, allocations: 8 kB / 0.5594 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.644e-05/0.01924, allocations: 15.98 kB / 0.5594 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.01929, allocations: 15.97 kB / 0.5594 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.2896/0.3089, allocations: 13.3 kB / 0.5594 GB, free: 79.57 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001305/0.309, allocations: 58.69 kB / 0.5595 GB, free: 79.56 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.309, allocations: 0 / 0.5595 GB, free: 79.56 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002773/0.3093, allocations: 54.97 kB / 0.5595 GB, free: 79.56 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.0001347/0.3095, allocations: 93.83 kB / 0.5596 GB, free: 79.5 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003177/0.3098, allocations: 307.7 kB / 0.5599 GB, free: 79.27 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.3098, allocations: 5.531 kB / 0.5599 GB, free: 79.27 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.3099, allocations: 144.6 kB / 0.56 GB, free: 79.17 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.3102, allocations: 85.78 kB / 0.5601 GB, free: 79.17 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005761/0.316, allocations: 0.5723 MB / 0.5607 GB, free: 78.9 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.391e-05/0.316, allocations: 80.12 kB / 0.5608 GB, free: 78.83 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.841e-05/0.3161, allocations: 27.28 kB / 0.5608 GB, free: 78.83 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.3163, allocations: 119.4 kB / 0.5609 GB, free: 78.79 MB / 410.8 MB Notification: Performance of SimCode: time 1.654e-06/0.3163, allocations: 0 / 0.5609 GB, free: 78.79 MB / 410.8 MB Notification: Performance of Templates: time 0.006538/0.3228, allocations: 3.79 MB / 0.5646 GB, free: 78.63 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.102069622837007]