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.0009335/0.0009335, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00102/0.001953, 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.0006757/0.0006757, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008644/0.00154, 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.9388/0.9388, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08652/1.025, allocations: 53.67 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.7124/0.7124, allocations: 291.1 MB / 0.5226 GB, free: 52.77 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03062/0.7431, allocations: 21.04 MB / 0.5431 GB, free: 31.8 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.533e-06/1.533e-06, allocations: 0 / 0.5445 GB, free: 30.4 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.522e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.39 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin): time 0.002464/0.002489, allocations: 2.509 MB / 0.547 GB, free: 27.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005285/0.007774, allocations: 6.692 MB / 0.5535 GB, free: 21.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.007962, allocations: 3.938 kB / 0.5535 GB, free: 21.17 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.887e-05/0.008061, allocations: 23.72 kB / 0.5535 GB, free: 21.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.00824, allocations: 83.33 kB / 0.5536 GB, free: 21.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001798/0.00842, allocations: 59.8 kB / 0.5537 GB, free: 21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002233/0.008643, allocations: 274.5 kB / 0.5539 GB, free: 20.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.008779, allocations: 30.55 kB / 0.554 GB, free: 20.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.008965, allocations: 172.3 kB / 0.5541 GB, free: 20.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.009118, allocations: 87.72 kB / 0.5542 GB, free: 20.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.788e-05/0.009146, allocations: 16 kB / 0.5542 GB, free: 20.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.215e-05/0.009168, allocations: 16 kB / 0.5542 GB, free: 20.42 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.999e-05/0.009198, allocations: 27.88 kB / 0.5543 GB, free: 20.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.438e-05/0.009263, allocations: 63.88 kB / 0.5543 GB, free: 20.33 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.009487, allocations: 147.5 kB / 0.5545 GB, free: 20.19 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.401e-05/0.009501, allocations: 0 / 0.5545 GB, free: 20.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.009503, allocations: 0 / 0.5545 GB, free: 20.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.009518, allocations: 0 / 0.5545 GB, free: 20.19 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.0005972/0.01011, allocations: 0.4898 MB / 0.5549 GB, free: 19.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.01015, allocations: 15.89 kB / 0.555 GB, free: 19.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.599e-05/0.01019, allocations: 24.91 kB / 0.555 GB, free: 19.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.01036, allocations: 187 kB / 0.5552 GB, free: 19.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.01038, allocations: 12.61 kB / 0.5552 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.0104, allocations: 16.38 kB / 0.5552 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.01056, allocations: 155.5 kB / 0.5553 GB, free: 19.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.01058, allocations: 7.984 kB / 0.5553 GB, free: 19.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.01059, allocations: 4 kB / 0.5553 GB, free: 19.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.01059, allocations: 4 kB / 0.5554 GB, free: 19.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.56e-05/0.01067, allocations: 84.64 kB / 0.5554 GB, free: 19.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004183/0.01109, allocations: 357 kB / 0.5558 GB, free: 18.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.0113, allocations: 116 kB / 0.5559 GB, free: 18.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.868e-05/0.01134, allocations: 62.53 kB / 0.5559 GB, free: 18.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.467e-06/0.01134, allocations: 0 / 0.5559 GB, free: 18.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001447/0.01149, allocations: 199.3 kB / 0.5561 GB, free: 18.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.703e-06/0.01149, allocations: 3.984 kB / 0.5561 GB, free: 18.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005534/0.01204, allocations: 0.5045 MB / 0.5566 GB, free: 17.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.01208, allocations: 170.2 kB / 0.5568 GB, free: 17.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.318e-05/0.01217, allocations: 210 kB / 0.557 GB, free: 17.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.01219, allocations: 33.69 kB / 0.557 GB, free: 17.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.095e-05/0.01223, allocations: 116.4 kB / 0.5571 GB, free: 17.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.01226, allocations: 67.47 kB / 0.5572 GB, free: 17.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.694e-05/0.01231, allocations: 55.17 kB / 0.5573 GB, free: 17.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.792e-05/0.01234, allocations: 334.8 kB / 0.5576 GB, free: 16.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.132e-05/0.0124, allocations: 93 kB / 0.5577 GB, free: 16.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.8e-05/0.01246, allocations: 183.7 kB / 0.5578 GB, free: 16.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.01257, allocations: 211.8 kB / 0.558 GB, free: 16.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.01257, allocations: 0 / 0.558 GB, free: 16.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001674/0.01274, allocations: 267.7 kB / 0.5583 GB, free: 15.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.825e-05/0.01277, allocations: 63.44 kB / 0.5584 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.01278, allocations: 0 / 0.5584 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.01279, allocations: 4 kB / 0.5584 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.01297, allocations: 67.89 kB / 0.5584 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.01297, allocations: 7.062 kB / 0.5584 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.726e-05/0.01305, allocations: 15.98 kB / 0.5584 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.01306, allocations: 11.94 kB / 0.5585 GB, free: 15.66 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.0001206/0.01318, allocations: 173.6 kB / 0.5586 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.0132, allocations: 23.92 kB / 0.5586 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.044e-05/0.01324, allocations: 29.95 kB / 0.5587 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01324, allocations: 0 / 0.5587 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.01324, allocations: 0 / 0.5587 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.099e-05/0.01326, allocations: 15.86 kB / 0.5587 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.01327, allocations: 7.938 kB / 0.5587 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.0133, allocations: 11.98 kB / 0.5587 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.217e-05/0.01335, allocations: 8 kB / 0.5587 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.0134, allocations: 27.95 kB / 0.5587 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001892/0.01359, allocations: 264.2 kB / 0.559 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2786/0.2922, allocations: 419 kB / 0.5594 GB, free: 78.95 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.952e-05/0.2923, allocations: 78.97 kB / 0.5595 GB, free: 78.91 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.234e-05/0.2924, allocations: 63.52 kB / 0.5595 GB, free: 78.9 MB / 410.8 MB Notification: Performance of Backend: time 2.61e-07/0.2924, allocations: 0 / 0.5595 GB, free: 78.9 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004534/0.2928, allocations: 340.9 kB / 0.5599 GB, free: 78.66 MB / 410.8 MB Notification: Performance of SimCode: time 0.00746/0.3003, allocations: 1.12 MB / 0.5609 GB, free: 77.85 MB / 410.8 MB Notification: Performance of Templates: time 0.006308/0.3066, allocations: 3.852 MB / 0.5647 GB, free: 77.71 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 -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8691013483330607]