Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine.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.001061/0.001061, allocations: 92.42 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001028/0.001028, allocations: 169.9 kB / 23.21 MB, free: 1.328 MB / 18.57 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.001/1.001, allocations: 177.1 MB / 203.5 MB, free: 5.762 MB / 186.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.7257/0.7257, allocations: 291.2 MB / 0.5382 GB, free: 51.75 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.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 3.938 kB / 0.6974 GB, free: 10.39 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.206e-05/3.407e-05, allocations: 6.219 kB / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine): time 0.003372/0.003406, allocations: 2.291 MB / 0.6996 GB, free: 8.07 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.006729/0.01014, allocations: 6.533 MB / 0.706 GB, free: 1.527 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002674/0.0104, allocations: 0 / 0.706 GB, free: 1.527 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001674/0.01057, allocations: 23.72 kB / 0.706 GB, free: 1.504 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003157/0.01089, allocations: 95.25 kB / 0.7061 GB, free: 1.41 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.01119, allocations: 51.88 kB / 0.7062 GB, free: 1.359 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002886/0.01147, allocations: 266.6 kB / 0.7064 GB, free: 1.098 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.01163, allocations: 44.5 kB / 0.7065 GB, free: 1.059 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.01181, allocations: 139.6 kB / 0.7066 GB, free: 0.9219 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002069/0.01202, allocations: 75.78 kB / 0.7067 GB, free: 0.8477 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.611e-05/0.01206, allocations: 20 kB / 0.7067 GB, free: 0.8281 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.944e-05/0.01209, allocations: 16 kB / 0.7067 GB, free: 0.8125 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.839e-05/0.01212, allocations: 43.78 kB / 0.7067 GB, free: 0.7695 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 8.426e-05/0.01221, allocations: 79.78 kB / 0.7068 GB, free: 0.6914 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.01245, allocations: 199.4 kB / 0.707 GB, free: 0.4961 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.01245, allocations: 0 / 0.707 GB, free: 0.4961 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.245e-06/0.01246, allocations: 0 / 0.707 GB, free: 0.4961 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.01246, allocations: 0 / 0.707 GB, free: 0.4961 MB / 410.8 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.0008475/0.01331, allocations: 496.9 kB / 0.7075 GB, free: 15.96 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.01336, allocations: 8.031 kB / 0.7075 GB, free: 15.95 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.963e-05/0.01343, allocations: 28.8 kB / 0.7075 GB, free: 15.93 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.01369, allocations: 178.3 kB / 0.7077 GB, free: 15.73 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.01372, allocations: 8.609 kB / 0.7077 GB, free: 15.72 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.94e-05/0.01375, allocations: 16.38 kB / 0.7077 GB, free: 15.7 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003925/0.01415, allocations: 202.4 kB / 0.7079 GB, free: 15.49 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.01417, allocations: 3.953 kB / 0.7079 GB, free: 15.49 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.01419, allocations: 4 kB / 0.7079 GB, free: 15.48 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.01419, allocations: 4 kB / 0.7079 GB, free: 15.48 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003397/0.01453, allocations: 150.2 kB / 0.7081 GB, free: 15.33 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008439/0.01538, allocations: 485.4 kB / 0.7085 GB, free: 14.82 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000494/0.01587, allocations: 180.1 kB / 0.7087 GB, free: 14.63 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.01604, allocations: 90.52 kB / 0.7088 GB, free: 14.53 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.01606, allocations: 4 kB / 0.7088 GB, free: 14.53 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003343/0.01639, allocations: 240.3 kB / 0.709 GB, free: 14.26 MB / 426.8 MB Notification: Performance of pre-optimization done (n=20): time 2.836e-06/0.01639, allocations: 0 / 0.709 GB, free: 14.26 MB / 426.8 MB Notification: Performance of matching and sorting (n=21): time 0.00148/0.01787, allocations: 0.6989 MB / 0.7097 GB, free: 13.5 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.405e-05/0.01795, allocations: 136.5 kB / 0.7098 GB, free: 13.34 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.01817, allocations: 219 kB / 0.71 GB, free: 13.11 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.0182, allocations: 37.69 kB / 0.7101 GB, free: 13.07 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.743e-05/0.01829, allocations: 128.5 kB / 0.7102 GB, free: 12.94 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.794e-05/0.01835, allocations: 71.42 kB / 0.7103 GB, free: 12.87 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.409e-05/0.01843, allocations: 49.7 kB / 0.7103 GB, free: 12.82 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0003642/0.01879, allocations: 334.8 kB / 0.7106 GB, free: 12.48 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/0.01903, allocations: 145 kB / 0.7108 GB, free: 12.32 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.01928, allocations: 221.3 kB / 0.711 GB, free: 12.06 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003918/0.01967, allocations: 282.2 kB / 0.7112 GB, free: 11.74 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.01968, allocations: 0 / 0.7112 GB, free: 11.74 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005808/0.02026, allocations: 395.9 kB / 0.7116 GB, free: 11.32 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.316e-05/0.02031, allocations: 63.34 kB / 0.7117 GB, free: 11.25 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.02032, allocations: 7.984 kB / 0.7117 GB, free: 11.24 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.02034, allocations: 4 kB / 0.7117 GB, free: 11.24 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.02054, allocations: 51.84 kB / 0.7117 GB, free: 11.19 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.02055, allocations: 4 kB / 0.7117 GB, free: 11.18 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.02071, allocations: 16.2 kB / 0.7118 GB, free: 11.17 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/0.02074, allocations: 16 kB / 0.7118 GB, free: 11.15 MB / 426.8 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.0002369/0.02097, allocations: 172.3 kB / 0.7119 GB, free: 10.97 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/0.02101, allocations: 19.91 kB / 0.712 GB, free: 10.95 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.818e-05/0.02106, allocations: 25.95 kB / 0.712 GB, free: 10.92 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.02106, allocations: 4 kB / 0.712 GB, free: 10.92 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.02107, allocations: 7.938 kB / 0.712 GB, free: 10.91 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.02108, allocations: 0 / 0.712 GB, free: 10.91 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007954/0.02187, allocations: 0.5471 MB / 0.7125 GB, free: 10.32 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.02188, allocations: 0 / 0.7125 GB, free: 10.32 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.02206, allocations: 35.97 kB / 0.7126 GB, free: 10.28 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.02206, allocations: 0 / 0.7126 GB, free: 10.28 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.02208, allocations: 8 kB / 0.7126 GB, free: 10.27 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.02209, allocations: 0 / 0.7126 GB, free: 10.27 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.02209, allocations: 0 / 0.7126 GB, free: 10.27 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007254/0.02281, allocations: 0.4985 MB / 0.7131 GB, free: 9.746 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.496e-05/0.02286, allocations: 27.89 kB / 0.7131 GB, free: 9.719 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.26e-05/0.0229, allocations: 8 kB / 0.7131 GB, free: 9.711 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.02305, allocations: 15.92 kB / 0.7131 GB, free: 9.695 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.678e-05/0.02313, allocations: 19.97 kB / 0.7131 GB, free: 9.676 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.02315, allocations: 8 kB / 0.7131 GB, free: 9.668 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001461/0.0233, allocations: 160.4 kB / 0.7133 GB, free: 9.512 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.21e-07/0.0233, allocations: 0 / 0.7133 GB, free: 9.512 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003182/0.02362, allocations: 56 kB / 0.7133 GB, free: 9.457 MB / 426.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.0001459/0.02376, allocations: 115.3 kB / 0.7134 GB, free: 9.336 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0005558/0.02432, allocations: 379.6 kB / 0.7138 GB, free: 8.922 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.02432, allocations: 3.938 kB / 0.7138 GB, free: 8.918 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.02454, allocations: 165.1 kB / 0.714 GB, free: 8.738 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004746/0.02502, allocations: 79.94 kB / 0.714 GB, free: 8.664 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.02619, allocations: 0.5991 MB / 0.7146 GB, free: 8.027 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.0263, allocations: 121.6 kB / 0.7147 GB, free: 7.887 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.489e-05/0.02637, allocations: 28.5 kB / 0.7148 GB, free: 7.859 MB / 426.8 MB Notification: Performance of SimCode: time 1.052e-06/0.02637, allocations: 0 / 0.7148 GB, free: 7.859 MB / 426.8 MB Notification: Performance of Templates: time 0.005225/0.0316, allocations: 2.941 MB / 0.7176 GB, free: 4.949 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.670311385765672]