Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M05B_DrugsAffectingBoneStructureAndMineralization.M05BX04_Denosumab.Denosumab.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.001881/0.001881, allocations: 109.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.002099/0.002099, allocations: 214.4 kB / 22.25 MB, free: 3.582 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.813/1.813, allocations: 230.6 MB / 256 MB, free: 9.605 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.435/1.435, 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.M_MusculoSkeletalSystem.M05B_DrugsAffectingBoneStructureAndMineralization.M05BX04_Denosumab.Denosumab,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1468800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M05B_DrugsAffectingBoneStructureAndMineralization.M05BX04_Denosumab.Denosumab") translateModel(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M05B_DrugsAffectingBoneStructureAndMineralization.M05BX04_Denosumab.Denosumab,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1468800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M05B_DrugsAffectingBoneStructureAndMineralization.M05BX04_Denosumab.Denosumab") [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.003959/0.003959, allocations: 73.17 kB / 0.775 GB, free: 14.77 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2079, allocations: 74 MB / 0.8472 GB, free: 4.91 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M05B_DrugsAffectingBoneStructureAndMineralization.M05BX04_Denosumab.Denosumab): time 0.004891/0.2128, allocations: 2.287 MB / 0.8495 GB, free: 2.625 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.2144, allocations: 0.5994 MB / 0.8501 GB, free: 2.031 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.2145, allocations: 3.938 kB / 0.8501 GB, free: 2.027 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001942/0.2147, allocations: 31.7 kB / 0.8501 GB, free: 1.996 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002948/0.215, allocations: 72.09 kB / 0.8502 GB, free: 1.926 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.2153, allocations: 50.38 kB / 0.8502 GB, free: 1.879 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003991/0.2157, allocations: 262.7 kB / 0.8505 GB, free: 1.621 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.2159, allocations: 32.58 kB / 0.8505 GB, free: 1.59 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.216, allocations: 91.66 kB / 0.8506 GB, free: 1.5 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002658/0.2163, allocations: 95.53 kB / 0.8507 GB, free: 1.406 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.214e-05/0.2163, allocations: 25.84 kB / 0.8507 GB, free: 1.383 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.491e-05/0.2164, allocations: 16 kB / 0.8507 GB, free: 1.367 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.987e-05/0.2165, allocations: 43.83 kB / 0.8508 GB, free: 1.324 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.2166, allocations: 91.59 kB / 0.8508 GB, free: 1.234 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003356/0.2169, allocations: 191.2 kB / 0.851 GB, free: 1.047 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2169, allocations: 5.281 kB / 0.851 GB, free: 1.043 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2169, allocations: 0 / 0.851 GB, free: 1.043 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.2169, allocations: 0 / 0.851 GB, free: 1.043 MB / 474.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.001059/0.218, allocations: 498.6 kB / 0.8515 GB, free: 0.5117 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.218, allocations: 8.031 kB / 0.8515 GB, free: 0.5039 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.969e-05/0.2181, allocations: 29.39 kB / 0.8515 GB, free: 488 kB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.2184, allocations: 183.1 kB / 0.8517 GB, free: 276 kB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.2184, allocations: 13.14 kB / 0.8517 GB, free: 264 kB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.113e-05/0.2185, allocations: 24.48 kB / 0.8517 GB, free: 240 kB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004279/0.2189, allocations: 190.5 kB / 0.8519 GB, free: 36 kB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.2189, allocations: 11.94 kB / 0.8519 GB, free: 24 kB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.219, allocations: 0.5312 kB / 0.8519 GB, free: 24 kB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.219, allocations: 4.625 kB / 0.8519 GB, free: 20 kB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003968/0.2194, allocations: 146.8 kB / 0.8521 GB, free: 15.87 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009056/0.2203, allocations: 490.6 kB / 0.8526 GB, free: 15.36 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005412/0.2208, allocations: 169.4 kB / 0.8527 GB, free: 15.18 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.221, allocations: 96.98 kB / 0.8528 GB, free: 15.08 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.221, allocations: 4 kB / 0.8528 GB, free: 15.07 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004044/0.2214, allocations: 224.5 kB / 0.853 GB, free: 14.82 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.353e-06/0.2214, allocations: 0 / 0.853 GB, free: 14.82 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001642/0.2231, allocations: 0.6977 MB / 0.8537 GB, free: 14.07 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.2232, allocations: 144.5 kB / 0.8538 GB, free: 13.89 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.2235, allocations: 215.5 kB / 0.854 GB, free: 13.68 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/0.2235, allocations: 33.7 kB / 0.8541 GB, free: 13.64 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.2236, allocations: 133.4 kB / 0.8542 GB, free: 13.5 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.076e-05/0.2237, allocations: 67.44 kB / 0.8543 GB, free: 13.44 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.2238, allocations: 58.53 kB / 0.8543 GB, free: 13.38 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.224, allocations: 338.8 kB / 0.8547 GB, free: 13.04 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002787/0.2243, allocations: 142.2 kB / 0.8548 GB, free: 12.88 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003548/0.2246, allocations: 225.3 kB / 0.855 GB, free: 12.61 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.369/0.5936, allocations: 273.5 kB / 0.8553 GB, free: 28.23 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.5936, allocations: 2.688 kB / 0.8553 GB, free: 28.23 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007382/0.5944, allocations: 393.7 kB / 0.8556 GB, free: 28.07 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.533e-05/0.5944, allocations: 70.47 kB / 0.8557 GB, free: 28.01 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.5944, allocations: 1.766 kB / 0.8557 GB, free: 28.01 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/0.5944, allocations: 3.062 kB / 0.8557 GB, free: 28.01 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.5947, allocations: 50.64 kB / 0.8558 GB, free: 28.01 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.5947, allocations: 6.469 kB / 0.8558 GB, free: 28.01 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.5949, allocations: 15.64 kB / 0.8558 GB, free: 28.01 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.5949, allocations: 17.64 kB / 0.8558 GB, free: 28.01 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.0001943/0.5951, allocations: 174.2 kB / 0.856 GB, free: 27.86 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.5951, allocations: 25.69 kB / 0.856 GB, free: 27.86 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.618e-05/0.5952, allocations: 20.19 kB / 0.856 GB, free: 27.86 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.5952, allocations: 3.5 kB / 0.856 GB, free: 27.86 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.5952, allocations: 1.031 kB / 0.856 GB, free: 27.86 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.5952, allocations: 3.781 kB / 0.856 GB, free: 27.86 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007234/0.5959, allocations: 0.5386 MB / 0.8565 GB, free: 27.56 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5959, allocations: 3.938 kB / 0.8565 GB, free: 27.56 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.5961, allocations: 34.42 kB / 0.8566 GB, free: 27.56 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5961, allocations: 0.9688 kB / 0.8566 GB, free: 27.56 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.5961, allocations: 17.44 kB / 0.8566 GB, free: 27.55 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.5961, allocations: 3.438 kB / 0.8566 GB, free: 27.55 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5961, allocations: 0 / 0.8566 GB, free: 27.55 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006435/0.5968, allocations: 497.5 kB / 0.8571 GB, free: 27.33 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-05/0.5968, allocations: 21.03 kB / 0.8571 GB, free: 27.33 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.139e-05/0.5968, allocations: 9.406 kB / 0.8571 GB, free: 27.33 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.597, allocations: 15.78 kB / 0.8571 GB, free: 27.33 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.944e-05/0.5971, allocations: 25.62 kB / 0.8571 GB, free: 27.33 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.5971, allocations: 6.656 kB / 0.8571 GB, free: 27.33 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001238/0.5972, allocations: 161.7 kB / 0.8573 GB, free: 27.25 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.5972, allocations: 0.625 kB / 0.8573 GB, free: 27.25 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002944/0.5975, allocations: 57.69 kB / 0.8574 GB, free: 27.25 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.0001013/0.5976, allocations: 116.4 kB / 0.8575 GB, free: 27.16 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005043/0.5981, allocations: 374.6 kB / 0.8578 GB, free: 26.95 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5981, allocations: 0.5625 kB / 0.8578 GB, free: 26.95 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.5983, allocations: 179.1 kB / 0.858 GB, free: 26.85 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.5988, allocations: 66.81 kB / 0.8581 GB, free: 26.85 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.6, allocations: 0.6778 MB / 0.8587 GB, free: 26.57 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.656e-05/0.6, allocations: 123.3 kB / 0.8588 GB, free: 26.5 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.356e-05/0.6001, allocations: 29.31 kB / 0.8589 GB, free: 26.49 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.119e-05/0.6002, allocations: 18.22 kB / 0.8589 GB, free: 26.48 MB / 490.8 MB Notification: Performance of SimCode: time 4.81e-07/0.6002, allocations: 4.719 kB / 0.8589 GB, free: 26.48 MB / 490.8 MB Notification: Performance of Templates: time 0.008217/0.6084, allocations: 3.64 MB / 0.8624 GB, free: 26.18 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M05B_DrugsAffectingBoneStructureAndMineralization.M05BX04_Denosumab.Denosumab.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M05B_DrugsAffectingBoneStructureAndMineralization.M05BX04_Denosumab.Denosumab.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M05B_DrugsAffectingBoneStructureAndMineralization.M05BX04_Denosumab.Denosumab.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M05B_DrugsAffectingBoneStructureAndMineralization.M05BX04_Denosumab.Denosumab.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M05B_DrugsAffectingBoneStructureAndMineralization.M05BX04_Denosumab.Denosumab.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M05B_DrugsAffectingBoneStructureAndMineralization.M05BX04_Denosumab.Denosumab -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M05B_DrugsAffectingBoneStructureAndMineralization.M05BX04_Denosumab.Denosumab.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.488207221962512]