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.002213/0.002213, allocations: 105.5 kB / 18.95 MB, free: 1.18 MB / 13.93 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.002339/0.002339, allocations: 218.4 kB / 22.25 MB, free: 3.703 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.758/1.758, allocations: 230.6 MB / 256 MB, free: 9.637 MB / 202.7 MB " [Timeout remaining time 178] 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 1.421/1.421, allocations: 316.7 MB / 0.6144 GB, free: 93.04 MB / 410.7 MB " [Timeout remaining time 178] 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004083/0.004083, allocations: 77.97 kB / 0.775 GB, free: 14.75 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2321, allocations: 73.99 MB / 0.8472 GB, free: 4.898 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide): time 0.01172/0.2438, allocations: 2.312 MB / 0.8495 GB, free: 2.59 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3785/0.6224, allocations: 6.525 MB / 0.8559 GB, free: 22.01 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002277/0.6226, allocations: 4.781 kB / 0.8559 GB, free: 22.01 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.6228, allocations: 22.61 kB / 0.8559 GB, free: 22.01 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002616/0.623, allocations: 83.41 kB / 0.856 GB, free: 22.01 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.6233, allocations: 56.53 kB / 0.856 GB, free: 22.01 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002797/0.6236, allocations: 254 kB / 0.8563 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.6237, allocations: 37.19 kB / 0.8563 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.6239, allocations: 94.64 kB / 0.8564 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002226/0.6241, allocations: 103.2 kB / 0.8565 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.669e-05/0.6241, allocations: 15.31 kB / 0.8565 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.184e-05/0.6242, allocations: 18.44 kB / 0.8565 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.334e-05/0.6242, allocations: 38.42 kB / 0.8566 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.6243, allocations: 95.88 kB / 0.8567 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.6246, allocations: 198.2 kB / 0.8569 GB, free: 21.89 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.6246, allocations: 0 / 0.8569 GB, free: 21.89 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6246, allocations: 0 / 0.8569 GB, free: 21.89 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.6246, allocations: 0 / 0.8569 GB, free: 21.89 MB / 490.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.0008482/0.6254, allocations: 0.4923 MB / 0.8573 GB, free: 21.49 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.6254, allocations: 9.25 kB / 0.8573 GB, free: 21.49 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.769e-05/0.6255, allocations: 25.02 kB / 0.8574 GB, free: 21.48 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.6257, allocations: 182.3 kB / 0.8575 GB, free: 21.32 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.6258, allocations: 10.64 kB / 0.8575 GB, free: 21.32 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.185e-05/0.6258, allocations: 21.02 kB / 0.8576 GB, free: 21.31 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003678/0.6262, allocations: 190.9 kB / 0.8577 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.6262, allocations: 1.375 kB / 0.8578 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.6262, allocations: 7.328 kB / 0.8578 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.6262, allocations: 4.969 kB / 0.8578 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003501/0.6266, allocations: 149.5 kB / 0.8579 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007863/0.6274, allocations: 479.3 kB / 0.8584 GB, free: 20.9 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005144/0.6279, allocations: 172.4 kB / 0.8585 GB, free: 20.85 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/0.6281, allocations: 94.16 kB / 0.8586 GB, free: 20.81 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.6281, allocations: 8.5 kB / 0.8586 GB, free: 20.8 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003616/0.6284, allocations: 230.5 kB / 0.8588 GB, free: 20.66 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.362e-06/0.6285, allocations: 0.5938 kB / 0.8588 GB, free: 20.66 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.0014/0.6299, allocations: 0.6966 MB / 0.8595 GB, free: 20.3 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.6299, allocations: 137 kB / 0.8597 GB, free: 20.15 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.6301, allocations: 223 kB / 0.8599 GB, free: 20.04 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.6301, allocations: 33.19 kB / 0.8599 GB, free: 20.01 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.875e-05/0.6302, allocations: 132.5 kB / 0.86 GB, free: 19.91 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.604e-05/0.6302, allocations: 73.33 kB / 0.8601 GB, free: 19.87 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.618e-05/0.6303, allocations: 54.88 kB / 0.8601 GB, free: 19.85 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.787e-05/0.6304, allocations: 338.1 kB / 0.8605 GB, free: 19.54 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.6306, allocations: 144.5 kB / 0.8606 GB, free: 19.46 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.6308, allocations: 221.7 kB / 0.8608 GB, free: 19.29 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003734/0.6312, allocations: 288.7 kB / 0.8611 GB, free: 19.12 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6312, allocations: 0.5 kB / 0.8611 GB, free: 19.12 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005524/0.6317, allocations: 381.7 kB / 0.8615 GB, free: 18.95 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.91e-05/0.6318, allocations: 70 kB / 0.8615 GB, free: 18.89 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.6318, allocations: 4.531 kB / 0.8615 GB, free: 18.88 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.6318, allocations: 4.312 kB / 0.8615 GB, free: 18.88 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.632, allocations: 50.36 kB / 0.8616 GB, free: 18.88 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.632, allocations: 1.625 kB / 0.8616 GB, free: 18.88 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.6322, allocations: 18.72 kB / 0.8616 GB, free: 18.88 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.6322, allocations: 12.41 kB / 0.8616 GB, free: 18.88 MB / 490.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.0001729/0.6324, allocations: 177.3 kB / 0.8618 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.6324, allocations: 23.31 kB / 0.8618 GB, free: 18.71 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.867e-05/0.6325, allocations: 30.88 kB / 0.8618 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.6325, allocations: 5.875 kB / 0.8618 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6325, allocations: 3.938 kB / 0.8618 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.6325, allocations: 5.016 kB / 0.8618 GB, free: 18.69 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006563/0.6332, allocations: 0.5384 MB / 0.8624 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.6332, allocations: 0 / 0.8624 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/0.6334, allocations: 36.88 kB / 0.8624 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.6334, allocations: 1.812 kB / 0.8624 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.6334, allocations: 8.078 kB / 0.8624 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.6334, allocations: 5.234 kB / 0.8624 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.6334, allocations: 2.484 kB / 0.8624 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006954/0.6341, allocations: 0.4893 MB / 0.8629 GB, free: 18.14 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.816e-05/0.6341, allocations: 25.53 kB / 0.8629 GB, free: 18.13 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.301e-05/0.6342, allocations: 7.062 kB / 0.8629 GB, free: 18.13 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.6343, allocations: 14.23 kB / 0.863 GB, free: 18.13 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.871e-05/0.6344, allocations: 24.94 kB / 0.863 GB, free: 18.13 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.6344, allocations: 4.25 kB / 0.863 GB, free: 18.13 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001412/0.6346, allocations: 165 kB / 0.8631 GB, free: 18.05 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.6346, allocations: 1.562 kB / 0.8631 GB, free: 18.05 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003077/0.6349, allocations: 52.84 kB / 0.8632 GB, free: 18.05 MB / 490.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.0001305/0.635, allocations: 112 kB / 0.8633 GB, free: 17.95 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005476/0.6356, allocations: 383.1 kB / 0.8637 GB, free: 17.72 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.6356, allocations: 1.219 kB / 0.8637 GB, free: 17.72 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.6358, allocations: 175.1 kB / 0.8638 GB, free: 17.62 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004919/0.6363, allocations: 68.88 kB / 0.8639 GB, free: 17.62 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.6376, allocations: 0.6844 MB / 0.8646 GB, free: 17.31 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.6378, allocations: 127.9 kB / 0.8647 GB, free: 17.23 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001144/0.6379, allocations: 20.58 kB / 0.8647 GB, free: 17.23 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.122e-05/0.6379, allocations: 21.77 kB / 0.8647 GB, free: 17.22 MB / 490.8 MB Notification: Performance of SimCode: time 7.92e-07/0.6379, allocations: 4 kB / 0.8647 GB, free: 17.22 MB / 490.8 MB Notification: Performance of Templates: time 0.009427/0.6474, allocations: 3.631 MB / 0.8683 GB, free: 16.89 MB / 490.8 MB " [Timeout remaining time 659] 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.605777018005028]