Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital.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.0006639/0.0006639, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009371/0.001601, 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.0007498/0.0007498, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009485/0.001698, 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 1.079/1.079, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09962/1.179, allocations: 53.67 MB / 243.3 MB, free: 15.57 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.8554/0.8554, allocations: 291.1 MB / 0.5226 GB, free: 52.78 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03885/0.8942, 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.N05CA01_Pentobarbital.Pentobarbital,tolerance=1e-09,outputFormat="empty",numberOfIntervals=691200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital,tolerance=1e-09,outputFormat="empty",numberOfIntervals=691200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.5445 GB, free: 30.4 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.202e-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.N05CA01_Pentobarbital.Pentobarbital): time 0.003731/0.003754, allocations: 2.509 MB / 0.547 GB, free: 27.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006504/0.01026, allocations: 6.696 MB / 0.5535 GB, free: 21.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001902/0.01045, allocations: 0 / 0.5535 GB, free: 21.17 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.01057, allocations: 27.72 kB / 0.5535 GB, free: 21.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002489/0.01082, allocations: 87.27 kB / 0.5536 GB, free: 21.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.01104, allocations: 51.86 kB / 0.5537 GB, free: 21.01 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003044/0.01134, allocations: 270.6 kB / 0.5539 GB, free: 20.74 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.01149, allocations: 38.55 kB / 0.554 GB, free: 20.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002764/0.01177, allocations: 176.1 kB / 0.5541 GB, free: 20.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.01199, allocations: 87.77 kB / 0.5542 GB, free: 20.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.748e-05/0.01202, allocations: 16 kB / 0.5542 GB, free: 20.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.062e-05/0.01205, allocations: 16 kB / 0.5542 GB, free: 20.42 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.605e-05/0.01209, allocations: 27.88 kB / 0.5543 GB, free: 20.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.294e-05/0.01217, allocations: 63.88 kB / 0.5543 GB, free: 20.33 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.0124, allocations: 135.5 kB / 0.5545 GB, free: 20.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.701e-05/0.01242, allocations: 3.938 kB / 0.5545 GB, free: 20.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.01242, allocations: 4 kB / 0.5545 GB, free: 20.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.679e-05/0.01244, 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.0007586/0.0132, allocations: 0.4976 MB / 0.555 GB, free: 19.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.01324, allocations: 15.83 kB / 0.555 GB, free: 19.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.51e-05/0.01331, allocations: 24.92 kB / 0.555 GB, free: 19.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.01353, allocations: 175.1 kB / 0.5552 GB, free: 19.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.01355, allocations: 16.55 kB / 0.5552 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.186e-05/0.01359, allocations: 12.38 kB / 0.5552 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.01383, allocations: 167.4 kB / 0.5553 GB, free: 19.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.01384, allocations: 0 / 0.5553 GB, free: 19.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.01386, allocations: 4 kB / 0.5553 GB, free: 19.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.01387, allocations: 4 kB / 0.5554 GB, free: 19.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.01398, allocations: 76.7 kB / 0.5554 GB, free: 19.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005508/0.01453, allocations: 368.9 kB / 0.5558 GB, free: 18.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.01477, allocations: 112.1 kB / 0.5559 GB, free: 18.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.384e-05/0.01482, allocations: 58.55 kB / 0.5559 GB, free: 18.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.01483, allocations: 4 kB / 0.5559 GB, free: 18.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.01504, allocations: 191.3 kB / 0.5561 GB, free: 18.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 3.447e-06/0.01504, allocations: 3.938 kB / 0.5561 GB, free: 18.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007862/0.01583, allocations: 0.5094 MB / 0.5566 GB, free: 17.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.01587, allocations: 166.2 kB / 0.5568 GB, free: 17.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.01599, allocations: 210 kB / 0.557 GB, free: 17.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.01601, allocations: 33.7 kB / 0.557 GB, free: 17.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.307e-05/0.01605, allocations: 116.4 kB / 0.5571 GB, free: 17.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.51e-05/0.01611, allocations: 71.45 kB / 0.5572 GB, free: 17.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.595e-05/0.01617, allocations: 47.19 kB / 0.5572 GB, free: 17.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.195e-05/0.01623, allocations: 338.8 kB / 0.5576 GB, free: 16.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.52e-05/0.0163, allocations: 100.9 kB / 0.5577 GB, free: 16.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.36e-05/0.0164, allocations: 171.7 kB / 0.5578 GB, free: 16.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.01655, allocations: 211.8 kB / 0.558 GB, free: 16.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.01655, allocations: 0 / 0.558 GB, free: 16.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000229/0.01678, allocations: 266 kB / 0.5583 GB, free: 15.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.124e-05/0.01682, allocations: 63.62 kB / 0.5583 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.01683, allocations: 4 kB / 0.5583 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.01684, allocations: 4 kB / 0.5583 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.01708, allocations: 70.95 kB / 0.5584 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.01709, allocations: 0 / 0.5584 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.01721, allocations: 19.98 kB / 0.5584 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.01723, allocations: 11.94 kB / 0.5584 GB, free: 15.67 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.0001498/0.01738, allocations: 173.6 kB / 0.5586 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/0.01742, allocations: 19.98 kB / 0.5586 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.13e-05/0.01746, allocations: 25.95 kB / 0.5587 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.01746, allocations: 0 / 0.5587 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01746, allocations: 0 / 0.5587 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.104e-05/0.0175, allocations: 19.8 kB / 0.5587 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.01751, allocations: 15.92 kB / 0.5587 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.01755, allocations: 8 kB / 0.5587 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.121e-05/0.01764, allocations: 8 kB / 0.5587 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.311e-05/0.0177, allocations: 23.94 kB / 0.5587 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002806/0.01798, allocations: 272.2 kB / 0.559 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.3171/0.335, allocations: 415.3 kB / 0.5594 GB, free: 78.95 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001167/0.3352, allocations: 77.56 kB / 0.5595 GB, free: 78.91 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001017/0.3353, allocations: 63.69 kB / 0.5595 GB, free: 78.9 MB / 410.8 MB Notification: Performance of Backend: time 8.62e-07/0.3353, allocations: 0 / 0.5595 GB, free: 78.9 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005502/0.3358, allocations: 339.1 kB / 0.5598 GB, free: 78.66 MB / 410.8 MB Notification: Performance of SimCode: time 0.005859/0.3417, allocations: 1.119 MB / 0.5609 GB, free: 77.85 MB / 410.8 MB Notification: Performance of Templates: time 0.008482/0.3501, allocations: 3.865 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.N05CA01_Pentobarbital.Pentobarbital.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.309672586619854]