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.001072/0.001072, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001399/0.002472, allocations: 443.9 kB / 10.36 MB, free: 332 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.001076/0.001076, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001352/0.002427, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.9543/0.9543, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08517/1.039, allocations: 53.66 MB / 243.3 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.7679/0.7679, allocations: 291.1 MB / 0.5226 GB, free: 52.79 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02977/0.7976, allocations: 21.05 MB / 0.5431 GB, free: 31.79 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.492e-06/1.492e-06, allocations: 0 / 0.5445 GB, free: 30.42 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.171e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.42 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin_Merchant2013_reference): time 0.002875/0.002897, allocations: 2.501 MB / 0.5469 GB, free: 27.91 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003805/0.006702, allocations: 6.688 MB / 0.5535 GB, free: 21.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.006806, allocations: 7.938 kB / 0.5535 GB, free: 21.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.889e-05/0.006875, allocations: 23.72 kB / 0.5535 GB, free: 21.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001393/0.007014, allocations: 87.31 kB / 0.5536 GB, free: 21.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001316/0.007146, allocations: 55.81 kB / 0.5536 GB, free: 21.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.007316, allocations: 262.6 kB / 0.5539 GB, free: 20.78 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.882e-05/0.007415, allocations: 38.52 kB / 0.5539 GB, free: 20.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.007573, allocations: 180.2 kB / 0.5541 GB, free: 20.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.007717, allocations: 91.72 kB / 0.5542 GB, free: 20.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.007739, allocations: 16 kB / 0.5542 GB, free: 20.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.89e-05/0.007758, allocations: 16 kB / 0.5542 GB, free: 20.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.475e-05/0.007783, allocations: 27.88 kB / 0.5542 GB, free: 20.42 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.031e-05/0.007833, allocations: 63.88 kB / 0.5543 GB, free: 20.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.007977, allocations: 139.5 kB / 0.5544 GB, free: 20.22 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.074e-05/0.007988, allocations: 3.938 kB / 0.5544 GB, free: 20.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.007989, allocations: 0 / 0.5544 GB, free: 20.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.007999, allocations: 0 / 0.5544 GB, free: 20.22 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.0004813/0.00848, allocations: 0.4976 MB / 0.5549 GB, free: 19.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.00851, allocations: 15.84 kB / 0.5549 GB, free: 19.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.00855, allocations: 28.91 kB / 0.555 GB, free: 19.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.008689, allocations: 175 kB / 0.5551 GB, free: 19.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.008704, allocations: 12.55 kB / 0.5551 GB, free: 19.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.008728, allocations: 20.36 kB / 0.5552 GB, free: 19.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.008873, allocations: 155.5 kB / 0.5553 GB, free: 19.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.008882, allocations: 0 / 0.5553 GB, free: 19.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.008891, allocations: 0 / 0.5553 GB, free: 19.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.008896, allocations: 11.98 kB / 0.5553 GB, free: 19.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.967e-05/0.008965, allocations: 76.7 kB / 0.5554 GB, free: 19.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003346/0.0093, allocations: 364.9 kB / 0.5557 GB, free: 18.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.009453, allocations: 104.2 kB / 0.5558 GB, free: 18.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.481e-05/0.009488, allocations: 62.53 kB / 0.5559 GB, free: 18.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.009496, allocations: 4 kB / 0.5559 GB, free: 18.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001406/0.009637, allocations: 199.2 kB / 0.5561 GB, free: 18.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.995e-06/0.00964, allocations: 7.922 kB / 0.5561 GB, free: 18.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004794/0.01012, allocations: 0.5093 MB / 0.5566 GB, free: 17.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.01014, allocations: 158.2 kB / 0.5568 GB, free: 17.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.449e-05/0.01023, allocations: 214 kB / 0.557 GB, free: 17.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.01024, allocations: 29.7 kB / 0.557 GB, free: 17.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.076e-05/0.01027, allocations: 124.4 kB / 0.5571 GB, free: 17.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.0103, allocations: 59.48 kB / 0.5572 GB, free: 17.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.01034, allocations: 63.16 kB / 0.5572 GB, free: 17.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.127e-05/0.01037, allocations: 330.8 kB / 0.5575 GB, free: 16.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.856e-05/0.01042, allocations: 101 kB / 0.5576 GB, free: 16.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.808e-05/0.01048, allocations: 173.3 kB / 0.5578 GB, free: 16.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.143e-05/0.01057, allocations: 218.9 kB / 0.558 GB, free: 16.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01057, allocations: 3.125 kB / 0.558 GB, free: 16.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001398/0.01071, allocations: 260.2 kB / 0.5583 GB, free: 15.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.01074, allocations: 67.39 kB / 0.5583 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.01075, allocations: 0 / 0.5583 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.01076, allocations: 4 kB / 0.5583 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.01091, allocations: 60.12 kB / 0.5584 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.01092, allocations: 11.98 kB / 0.5584 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.235e-05/0.01099, allocations: 12 kB / 0.5584 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.011, allocations: 15.94 kB / 0.5584 GB, free: 15.7 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 9.27e-05/0.01109, allocations: 169.6 kB / 0.5586 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.01111, allocations: 23.97 kB / 0.5586 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.853e-05/0.01114, allocations: 21.97 kB / 0.5586 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.01115, allocations: 3.984 kB / 0.5586 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.01115, allocations: 4 kB / 0.5586 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.079e-05/0.01117, allocations: 19.8 kB / 0.5587 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.01118, allocations: 11.94 kB / 0.5587 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.0112, allocations: 8 kB / 0.5587 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.06e-05/0.01125, allocations: 11.98 kB / 0.5587 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.01129, allocations: 15.97 kB / 0.5587 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001732/0.01146, allocations: 271 kB / 0.559 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2946/0.3061, allocations: 421.3 kB / 0.5594 GB, free: 79.43 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001064/0.3062, allocations: 80.81 kB / 0.5594 GB, free: 79.39 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.566e-05/0.3062, allocations: 62.45 kB / 0.5595 GB, free: 79.38 MB / 410.8 MB Notification: Performance of Backend: time 3.91e-07/0.3062, allocations: 0 / 0.5595 GB, free: 79.38 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004365/0.3067, allocations: 335.4 kB / 0.5598 GB, free: 79.14 MB / 410.8 MB Notification: Performance of SimCode: time 0.005674/0.3124, allocations: 1.125 MB / 0.5609 GB, free: 78.33 MB / 410.8 MB Notification: Performance of Templates: time 0.007267/0.3196, allocations: 3.857 MB / 0.5647 GB, free: 78.16 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 -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin_Merchant2013_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8590110829100013]