Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M05B_DrugsAffectingBoneStructureAndMineralization.M05BX04_Denosumab.Denosumab_Sutjandra2011_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.002494/0.002494, 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.002735/0.002735, allocations: 217.1 kB / 22.25 MB, free: 3.578 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.806/1.806, allocations: 230.6 MB / 256 MB, free: 9.602 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.457/1.457, 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_Sutjandra2011_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1468800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M05B_DrugsAffectingBoneStructureAndMineralization.M05BX04_Denosumab.Denosumab_Sutjandra2011_reference") translateModel(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M05B_DrugsAffectingBoneStructureAndMineralization.M05BX04_Denosumab.Denosumab_Sutjandra2011_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1468800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M05B_DrugsAffectingBoneStructureAndMineralization.M05BX04_Denosumab.Denosumab_Sutjandra2011_reference") [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.004022/0.004022, allocations: 77.78 kB / 0.775 GB, free: 14.68 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.2014, allocations: 74 MB / 0.8472 GB, free: 4.828 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M05B_DrugsAffectingBoneStructureAndMineralization.M05BX04_Denosumab.Denosumab_Sutjandra2011_reference): time 0.004635/0.206, allocations: 2.285 MB / 0.8495 GB, free: 2.543 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.2074, allocations: 0.5911 MB / 0.85 GB, free: 1.957 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.2075, allocations: 0.5625 kB / 0.85 GB, free: 1.957 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.2077, allocations: 28.31 kB / 0.8501 GB, free: 1.93 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.2079, allocations: 72.03 kB / 0.8501 GB, free: 1.859 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.2082, allocations: 60.45 kB / 0.8502 GB, free: 1.801 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003761/0.2086, allocations: 251.4 kB / 0.8504 GB, free: 1.555 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.2087, allocations: 37.3 kB / 0.8505 GB, free: 1.52 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.2089, allocations: 99.58 kB / 0.8506 GB, free: 1.422 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002675/0.2092, allocations: 100.1 kB / 0.8507 GB, free: 1.324 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.355e-05/0.2092, allocations: 20.59 kB / 0.8507 GB, free: 1.305 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.645e-05/0.2093, allocations: 16 kB / 0.8507 GB, free: 1.289 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.19e-05/0.2093, allocations: 32.45 kB / 0.8507 GB, free: 1.258 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.2094, allocations: 95.58 kB / 0.8508 GB, free: 1.164 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0006499/0.2101, allocations: 195.7 kB / 0.851 GB, free: 0.9727 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.2101, allocations: 8.5 kB / 0.851 GB, free: 0.9648 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2101, allocations: 0.625 kB / 0.851 GB, free: 0.9648 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.2101, allocations: 0 / 0.851 GB, free: 0.9648 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.001104/0.2112, allocations: 0.4909 MB / 0.8515 GB, free: 440 kB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.2113, allocations: 8.031 kB / 0.8515 GB, free: 432 kB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.74e-05/0.2114, allocations: 25.52 kB / 0.8515 GB, free: 408 kB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.2117, allocations: 187.1 kB / 0.8517 GB, free: 192 kB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.2117, allocations: 13.11 kB / 0.8517 GB, free: 180 kB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.051e-05/0.2118, allocations: 20.61 kB / 0.8517 GB, free: 160 kB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004684/0.2122, allocations: 191 kB / 0.8519 GB, free: 15.95 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.2123, allocations: 4 kB / 0.8519 GB, free: 15.95 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.2123, allocations: 4.625 kB / 0.8519 GB, free: 15.95 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.2123, allocations: 4 kB / 0.8519 GB, free: 15.94 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004044/0.2127, allocations: 143.6 kB / 0.8521 GB, free: 15.8 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009646/0.2137, allocations: 486.5 kB / 0.8525 GB, free: 15.29 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00055/0.2142, allocations: 173.3 kB / 0.8527 GB, free: 15.11 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.2144, allocations: 91.22 kB / 0.8528 GB, free: 15.01 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.2144, allocations: 4.531 kB / 0.8528 GB, free: 15 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004338/0.2149, allocations: 233.6 kB / 0.853 GB, free: 14.75 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.2149, allocations: 0 / 0.853 GB, free: 14.75 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001692/0.2166, allocations: 0.6967 MB / 0.8537 GB, free: 13.99 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.2167, allocations: 132.5 kB / 0.8538 GB, free: 13.83 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.2169, allocations: 220.1 kB / 0.854 GB, free: 13.61 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.217, allocations: 33.7 kB / 0.854 GB, free: 13.57 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.2171, allocations: 136.4 kB / 0.8542 GB, free: 13.43 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.65e-05/0.2172, allocations: 72.33 kB / 0.8542 GB, free: 13.36 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.617e-05/0.2173, allocations: 57.66 kB / 0.8543 GB, free: 13.3 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.000206/0.2175, allocations: 340.9 kB / 0.8546 GB, free: 12.96 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002883/0.2178, allocations: 141 kB / 0.8548 GB, free: 12.8 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003314/0.2181, allocations: 221.3 kB / 0.855 GB, free: 12.54 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3165/0.5346, allocations: 275.2 kB / 0.8552 GB, free: 28.23 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.5346, allocations: 2.656 kB / 0.8552 GB, free: 28.23 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006357/0.5352, allocations: 394.2 kB / 0.8556 GB, free: 28.07 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.131e-05/0.5352, allocations: 63.81 kB / 0.8557 GB, free: 28.01 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.5352, allocations: 2.531 kB / 0.8557 GB, free: 28.01 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.63e-05/0.5353, allocations: 4.453 kB / 0.8557 GB, free: 28.01 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.5355, allocations: 55.73 kB / 0.8557 GB, free: 28.01 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.5355, allocations: 4.25 kB / 0.8557 GB, free: 28.01 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.5357, allocations: 13.91 kB / 0.8558 GB, free: 28.01 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.5357, allocations: 16.41 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.0001772/0.5359, allocations: 167.7 kB / 0.8559 GB, free: 27.86 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.5359, allocations: 29.56 kB / 0.856 GB, free: 27.86 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.41e-05/0.536, allocations: 21.72 kB / 0.856 GB, free: 27.86 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.536, allocations: 6.141 kB / 0.856 GB, free: 27.86 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.536, allocations: 2.594 kB / 0.856 GB, free: 27.86 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.536, allocations: 2.141 kB / 0.856 GB, free: 27.86 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006966/0.5367, allocations: 0.5368 MB / 0.8565 GB, free: 27.56 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.5367, allocations: 1.516 kB / 0.8565 GB, free: 27.56 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/0.5369, allocations: 35.42 kB / 0.8565 GB, free: 27.56 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.5369, allocations: 0.5 kB / 0.8565 GB, free: 27.56 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.5369, allocations: 14.88 kB / 0.8566 GB, free: 27.55 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.5369, allocations: 0 / 0.8566 GB, free: 27.55 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.5369, allocations: 1.5 kB / 0.8566 GB, free: 27.55 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006535/0.5376, allocations: 0.4957 MB / 0.857 GB, free: 27.33 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.334e-05/0.5376, allocations: 22.16 kB / 0.8571 GB, free: 27.33 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/0.5376, allocations: 10.78 kB / 0.8571 GB, free: 27.33 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.5378, allocations: 16.36 kB / 0.8571 GB, free: 27.33 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.934e-05/0.5379, allocations: 22 kB / 0.8571 GB, free: 27.33 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.5379, allocations: 5.281 kB / 0.8571 GB, free: 27.33 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001188/0.538, allocations: 159.5 kB / 0.8573 GB, free: 27.25 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.538, allocations: 0 / 0.8573 GB, free: 27.25 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.000299/0.5383, allocations: 60.38 kB / 0.8573 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.0001121/0.5384, allocations: 125.5 kB / 0.8574 GB, free: 27.16 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004914/0.5389, allocations: 372.9 kB / 0.8578 GB, free: 26.95 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5389, allocations: 3.969 kB / 0.8578 GB, free: 26.95 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000224/0.5391, allocations: 172.7 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.0004298/0.5396, allocations: 67.28 kB / 0.858 GB, free: 26.85 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.5406, allocations: 0.6766 MB / 0.8587 GB, free: 26.57 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.356e-05/0.5407, allocations: 123.4 kB / 0.8588 GB, free: 26.49 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.371e-05/0.5408, allocations: 25.86 kB / 0.8588 GB, free: 26.49 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.964e-05/0.5409, allocations: 20.59 kB / 0.8589 GB, free: 26.48 MB / 490.8 MB Notification: Performance of SimCode: time 4.61e-07/0.5409, allocations: 0.5312 kB / 0.8589 GB, free: 26.48 MB / 490.8 MB Notification: Performance of Templates: time 0.007376/0.5482, allocations: 3.651 MB / 0.8624 GB, free: 26.2 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M05B_DrugsAffectingBoneStructureAndMineralization.M05BX04_Denosumab.Denosumab_Sutjandra2011_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M05B_DrugsAffectingBoneStructureAndMineralization.M05BX04_Denosumab.Denosumab_Sutjandra2011_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M05B_DrugsAffectingBoneStructureAndMineralization.M05BX04_Denosumab.Denosumab_Sutjandra2011_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M05B_DrugsAffectingBoneStructureAndMineralization.M05BX04_Denosumab.Denosumab_Sutjandra2011_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M05B_DrugsAffectingBoneStructureAndMineralization.M05BX04_Denosumab.Denosumab_Sutjandra2011_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M05B_DrugsAffectingBoneStructureAndMineralization.M05BX04_Denosumab.Denosumab_Sutjandra2011_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M05B_DrugsAffectingBoneStructureAndMineralization.M05BX04_Denosumab.Denosumab_Sutjandra2011_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.50222636316903]