Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_reference.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.002088/0.002088, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.002266/0.002266, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.641/1.641, allocations: 177.1 MB / 202.8 MB, free: 5.773 MB / 186.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.357/1.357, allocations: 292.9 MB / 0.5392 GB, free: 50.2 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.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_reference") translateModel(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.6999 GB, free: 8.609 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.709e-05/2.865e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.605 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_reference): time 0.002852/0.002881, allocations: 2.277 MB / 0.7021 GB, free: 6.312 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.005985/0.008865, allocations: 6.522 MB / 0.7084 GB, free: 15.78 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002031/0.009068, allocations: 0 / 0.7084 GB, free: 15.78 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.009231, allocations: 31.7 kB / 0.7085 GB, free: 15.75 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000326/0.009557, allocations: 95.2 kB / 0.7086 GB, free: 15.66 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.009829, allocations: 47.88 kB / 0.7086 GB, free: 15.61 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003866/0.01022, allocations: 266.6 kB / 0.7089 GB, free: 15.35 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.0104, allocations: 36.58 kB / 0.7089 GB, free: 15.32 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002404/0.01064, allocations: 147.6 kB / 0.709 GB, free: 15.17 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.01087, allocations: 75.78 kB / 0.7091 GB, free: 15.1 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 4.148e-05/0.01091, allocations: 20 kB / 0.7091 GB, free: 15.08 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.702e-05/0.01095, allocations: 16 kB / 0.7092 GB, free: 15.06 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 5.46e-05/0.011, allocations: 39.77 kB / 0.7092 GB, free: 15.02 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.01113, allocations: 75.84 kB / 0.7093 GB, free: 14.95 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003289/0.01145, allocations: 207.3 kB / 0.7095 GB, free: 14.75 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.01146, allocations: 0 / 0.7095 GB, free: 14.75 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.313e-06/0.01146, allocations: 0 / 0.7095 GB, free: 14.75 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.01147, allocations: 0 / 0.7095 GB, free: 14.75 MB / 426.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.00104/0.01251, allocations: 0.4929 MB / 0.7099 GB, free: 14.21 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.01255, allocations: 8.031 kB / 0.7099 GB, free: 14.2 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.329e-05/0.01262, allocations: 24.8 kB / 0.71 GB, free: 14.18 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.01292, allocations: 186.4 kB / 0.7102 GB, free: 13.96 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.01294, allocations: 12.61 kB / 0.7102 GB, free: 13.95 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.222e-05/0.01299, allocations: 16.38 kB / 0.7102 GB, free: 13.94 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004389/0.01343, allocations: 194.5 kB / 0.7104 GB, free: 13.73 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.01345, allocations: 3.953 kB / 0.7104 GB, free: 13.73 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.01347, allocations: 8 kB / 0.7104 GB, free: 13.72 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.01348, allocations: 4 kB / 0.7104 GB, free: 13.72 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003811/0.01386, allocations: 146.2 kB / 0.7105 GB, free: 13.57 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008972/0.01476, allocations: 477.5 kB / 0.711 GB, free: 13.07 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005576/0.01531, allocations: 180 kB / 0.7111 GB, free: 12.88 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.01552, allocations: 94.52 kB / 0.7112 GB, free: 12.78 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.01554, allocations: 4 kB / 0.7112 GB, free: 12.77 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004144/0.01595, allocations: 228.4 kB / 0.7115 GB, free: 12.52 MB / 426.8 MB Notification: Performance of pre-optimization done (n=20): time 1.282e-06/0.01596, allocations: 4 kB / 0.7115 GB, free: 12.52 MB / 426.8 MB Notification: Performance of matching and sorting (n=21): time 0.001706/0.01766, allocations: 0.6986 MB / 0.7121 GB, free: 11.75 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.01778, allocations: 140.5 kB / 0.7123 GB, free: 11.59 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002663/0.01805, allocations: 215 kB / 0.7125 GB, free: 11.37 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/0.01809, allocations: 37.7 kB / 0.7125 GB, free: 11.32 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.01824, allocations: 132.5 kB / 0.7126 GB, free: 11.19 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.507e-05/0.01832, allocations: 67.48 kB / 0.7127 GB, free: 11.12 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.01842, allocations: 49.7 kB / 0.7128 GB, free: 11.07 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.01863, allocations: 342.7 kB / 0.7131 GB, free: 10.73 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/0.01892, allocations: 144.9 kB / 0.7132 GB, free: 10.57 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000359/0.01927, allocations: 225.3 kB / 0.7134 GB, free: 10.3 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005035/0.01978, allocations: 286.3 kB / 0.7137 GB, free: 9.98 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.01978, allocations: 0 / 0.7137 GB, free: 9.98 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000734/0.02051, allocations: 396.1 kB / 0.7141 GB, free: 9.562 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.605e-05/0.02058, allocations: 59.39 kB / 0.7141 GB, free: 9.492 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.02059, allocations: 4 kB / 0.7141 GB, free: 9.488 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.02061, allocations: 7.984 kB / 0.7142 GB, free: 9.48 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.02085, allocations: 55.84 kB / 0.7142 GB, free: 9.426 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.02086, allocations: 4 kB / 0.7142 GB, free: 9.422 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.02106, allocations: 15.98 kB / 0.7142 GB, free: 9.406 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.02109, allocations: 8 kB / 0.7142 GB, free: 9.398 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.0002431/0.02133, allocations: 184.1 kB / 0.7144 GB, free: 9.207 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.02137, allocations: 19.91 kB / 0.7144 GB, free: 9.188 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.007e-05/0.02143, allocations: 21.95 kB / 0.7145 GB, free: 9.164 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.02144, allocations: 7.938 kB / 0.7145 GB, free: 9.156 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.02144, allocations: 3.938 kB / 0.7145 GB, free: 9.152 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.02145, allocations: 0 / 0.7145 GB, free: 9.152 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009455/0.02239, allocations: 0.5393 MB / 0.715 GB, free: 8.566 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.0224, allocations: 8 kB / 0.715 GB, free: 8.559 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/0.0226, allocations: 39.97 kB / 0.715 GB, free: 8.52 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.02261, allocations: 0 / 0.715 GB, free: 8.52 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.02263, allocations: 4 kB / 0.715 GB, free: 8.516 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.02263, allocations: 3.938 kB / 0.715 GB, free: 8.512 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.02263, allocations: 0 / 0.715 GB, free: 8.512 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009355/0.02357, allocations: 0.489 MB / 0.7155 GB, free: 7.988 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.554e-05/0.02361, allocations: 27.89 kB / 0.7155 GB, free: 7.961 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.744e-05/0.02366, allocations: 8 kB / 0.7156 GB, free: 7.953 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.02384, allocations: 15.98 kB / 0.7156 GB, free: 7.938 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.02394, allocations: 23.91 kB / 0.7156 GB, free: 7.914 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.02397, allocations: 7.984 kB / 0.7156 GB, free: 7.906 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001894/0.02416, allocations: 156.4 kB / 0.7157 GB, free: 7.754 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.02416, allocations: 0 / 0.7157 GB, free: 7.754 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003127/0.02447, allocations: 52 kB / 0.7158 GB, free: 7.703 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.0001829/0.02465, allocations: 136.8 kB / 0.7159 GB, free: 7.57 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0006818/0.02533, allocations: 382.2 kB / 0.7163 GB, free: 7.156 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.02534, allocations: 0 / 0.7163 GB, free: 7.156 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002925/0.02563, allocations: 173 kB / 0.7165 GB, free: 6.969 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000496/0.02612, allocations: 72.28 kB / 0.7165 GB, free: 6.898 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.02738, allocations: 0.5671 MB / 0.7171 GB, free: 6.301 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.02753, allocations: 129.6 kB / 0.7172 GB, free: 6.152 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001021/0.02763, allocations: 25.94 kB / 0.7172 GB, free: 6.125 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.513e-05/0.0277, allocations: 20.5 kB / 0.7172 GB, free: 6.105 MB / 426.8 MB Notification: Performance of SimCode: time 6.31e-07/0.0277, allocations: 0 / 0.7172 GB, free: 6.105 MB / 426.8 MB Notification: Performance of Templates: time 0.2113/0.239, allocations: 3.346 MB / 0.7205 GB, free: 36.42 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.01959104789421]