Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide.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.001043/0.001043, allocations: 92.52 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.001788/0.001788, allocations: 165.9 kB / 23.21 MB, free: 1.332 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 0.9387/0.9387, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.678/0.678, allocations: 291.2 MB / 0.5382 GB, free: 51.83 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.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.6974 GB, free: 10.4 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.585e-05, allocations: 14.22 kB / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide): time 0.00215/0.002176, allocations: 2.307 MB / 0.6996 GB, free: 8.059 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004891/0.007067, allocations: 6.541 MB / 0.706 GB, free: 1.508 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.007245, allocations: 4 kB / 0.706 GB, free: 1.504 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.007375, allocations: 23.72 kB / 0.706 GB, free: 1.48 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002001/0.007575, allocations: 87.27 kB / 0.7061 GB, free: 1.395 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.007791, allocations: 63.8 kB / 0.7062 GB, free: 1.332 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.007979, allocations: 262.6 kB / 0.7064 GB, free: 1.074 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.008109, allocations: 32.58 kB / 0.7065 GB, free: 1.047 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.008233, allocations: 135.7 kB / 0.7066 GB, free: 0.9141 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.008386, allocations: 83.72 kB / 0.7067 GB, free: 0.832 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.00841, allocations: 16 kB / 0.7067 GB, free: 0.8164 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.019e-05/0.00843, allocations: 20 kB / 0.7067 GB, free: 0.7969 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.751e-05/0.008458, allocations: 47.7 kB / 0.7068 GB, free: 0.75 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.411e-05/0.008522, allocations: 71.83 kB / 0.7068 GB, free: 0.6797 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.008692, allocations: 195.4 kB / 0.707 GB, free: 500 kB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.008695, allocations: 8 kB / 0.707 GB, free: 492 kB / 410.8 MB Notification: Performance of FrontEnd: time 1.653e-06/0.008697, allocations: 0 / 0.707 GB, free: 492 kB / 410.8 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.008702, allocations: 0 / 0.707 GB, free: 492 kB / 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.0005912/0.009293, allocations: 493.7 kB / 0.7075 GB, free: 15.95 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.009332, allocations: 12.03 kB / 0.7075 GB, free: 15.94 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.09e-05/0.009383, allocations: 24.8 kB / 0.7075 GB, free: 15.92 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.009574, allocations: 178.4 kB / 0.7077 GB, free: 15.71 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.009593, allocations: 8.609 kB / 0.7077 GB, free: 15.7 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.009621, allocations: 20.38 kB / 0.7077 GB, free: 15.68 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.009872, allocations: 193.5 kB / 0.7079 GB, free: 15.48 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.009885, allocations: 0 / 0.7079 GB, free: 15.48 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.0099, allocations: 11.94 kB / 0.7079 GB, free: 15.47 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.009904, allocations: 0 / 0.7079 GB, free: 15.47 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002071/0.01011, allocations: 154.2 kB / 0.7081 GB, free: 15.32 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005579/0.01067, allocations: 493.3 kB / 0.7085 GB, free: 14.8 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/0.01099, allocations: 168.2 kB / 0.7087 GB, free: 14.62 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.01109, allocations: 98.52 kB / 0.7088 GB, free: 14.52 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.0111, allocations: 0 / 0.7088 GB, free: 14.52 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002335/0.01134, allocations: 232.3 kB / 0.709 GB, free: 14.26 MB / 426.8 MB Notification: Performance of pre-optimization done (n=20): time 1.122e-06/0.01134, allocations: 0 / 0.709 GB, free: 14.26 MB / 426.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009282/0.01226, allocations: 0.7065 MB / 0.7097 GB, free: 13.49 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.01233, allocations: 140.5 kB / 0.7098 GB, free: 13.32 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.0125, allocations: 219 kB / 0.71 GB, free: 13.1 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.01251, allocations: 29.7 kB / 0.7101 GB, free: 13.06 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.625e-05/0.01258, allocations: 140.4 kB / 0.7102 GB, free: 12.92 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.01262, allocations: 71.42 kB / 0.7103 GB, free: 12.85 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.572e-05/0.01267, allocations: 53.7 kB / 0.7103 GB, free: 12.79 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.01278, allocations: 330.8 kB / 0.7106 GB, free: 12.46 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.01292, allocations: 145 kB / 0.7108 GB, free: 12.3 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.01307, allocations: 217.9 kB / 0.711 GB, free: 12.04 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.01331, allocations: 280.8 kB / 0.7113 GB, free: 11.73 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.01331, allocations: 0 / 0.7113 GB, free: 11.73 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000416/0.01372, allocations: 390.4 kB / 0.7116 GB, free: 11.32 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.999e-05/0.01376, allocations: 75.36 kB / 0.7117 GB, free: 11.23 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.01377, allocations: 4 kB / 0.7117 GB, free: 11.23 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.01379, allocations: 3.938 kB / 0.7117 GB, free: 11.22 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.0139, allocations: 51.91 kB / 0.7118 GB, free: 11.17 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.01391, allocations: 4 kB / 0.7118 GB, free: 11.17 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.947e-05/0.014, allocations: 15.98 kB / 0.7118 GB, free: 11.15 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.01402, allocations: 12 kB / 0.7118 GB, free: 11.14 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.0001495/0.01417, allocations: 186.7 kB / 0.712 GB, free: 10.95 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.119e-05/0.01419, allocations: 23.84 kB / 0.712 GB, free: 10.92 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.184e-05/0.01422, allocations: 25.95 kB / 0.712 GB, free: 10.89 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.01423, allocations: 0 / 0.712 GB, free: 10.89 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.01423, allocations: 4 kB / 0.712 GB, free: 10.89 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01423, allocations: 0 / 0.712 GB, free: 10.89 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004771/0.01471, allocations: 0.5367 MB / 0.7125 GB, free: 10.3 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01471, allocations: 0 / 0.7125 GB, free: 10.3 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.01481, allocations: 35.97 kB / 0.7126 GB, free: 10.27 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.01482, allocations: 4 kB / 0.7126 GB, free: 10.27 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.01483, allocations: 7.984 kB / 0.7126 GB, free: 10.26 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.01483, allocations: 7.938 kB / 0.7126 GB, free: 10.25 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.01484, allocations: 4 kB / 0.7126 GB, free: 10.25 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005633/0.0154, allocations: 499.9 kB / 0.7131 GB, free: 9.727 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.645e-05/0.01543, allocations: 19.91 kB / 0.7131 GB, free: 9.707 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.01545, allocations: 0 / 0.7131 GB, free: 9.707 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.923e-05/0.01553, allocations: 19.98 kB / 0.7131 GB, free: 9.688 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.786e-05/0.0156, allocations: 23.95 kB / 0.7131 GB, free: 9.664 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.01561, allocations: 12 kB / 0.7131 GB, free: 9.652 MB / 426.8 MB Notification: Performance of sorting global known variables: time 8.984e-05/0.0157, allocations: 152.4 kB / 0.7133 GB, free: 9.504 MB / 426.8 MB Notification: Performance of sort global known variables: time 3.3e-07/0.0157, allocations: 0 / 0.7133 GB, free: 9.504 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001926/0.01589, allocations: 59.94 kB / 0.7133 GB, free: 9.445 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.0001073/0.016, allocations: 124.9 kB / 0.7135 GB, free: 9.316 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0003467/0.01635, allocations: 375.7 kB / 0.7138 GB, free: 8.906 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01635, allocations: 0 / 0.7138 GB, free: 8.906 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.01648, allocations: 173 kB / 0.714 GB, free: 8.719 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.01678, allocations: 72.27 kB / 0.7141 GB, free: 8.648 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007527/0.01753, allocations: 0.6031 MB / 0.7146 GB, free: 8.008 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.271e-05/0.0176, allocations: 121.6 kB / 0.7148 GB, free: 7.867 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.14e-05/0.01765, allocations: 32.48 kB / 0.7148 GB, free: 7.836 MB / 426.8 MB Notification: Performance of SimCode: time 4.41e-07/0.01765, allocations: 0 / 0.7148 GB, free: 7.836 MB / 426.8 MB Notification: Performance of Templates: time 0.003842/0.02149, allocations: 2.93 MB / 0.7177 GB, free: 4.941 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.415592189878225]