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.001551/0.001551, allocations: 108.3 kB / 19.71 MB, free: 432 kB / 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.002084/0.002084, allocations: 220.4 kB / 23 MB, free: 2.961 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.035/1.035, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.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.7215/0.7215, allocations: 312.3 MB / 0.6108 GB, free: 97.46 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.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.001417/0.001417, allocations: 74.7 kB / 0.7699 GB, free: 20.14 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1083, allocations: 73.99 MB / 0.8421 GB, free: 10.28 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M05B_DrugsAffectingBoneStructureAndMineralization.M05BX04_Denosumab.Denosumab_Sutjandra2011_reference): time 0.002671/0.1109, allocations: 2.294 MB / 0.8444 GB, free: 7.988 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006982/0.1116, allocations: 0.5833 MB / 0.8449 GB, free: 7.41 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.897e-05/0.1117, allocations: 0 / 0.8449 GB, free: 7.41 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.1118, allocations: 32.33 kB / 0.845 GB, free: 7.379 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001626/0.112, allocations: 72.59 kB / 0.845 GB, free: 7.309 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001585/0.1122, allocations: 52.38 kB / 0.8451 GB, free: 7.258 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.1124, allocations: 262.7 kB / 0.8453 GB, free: 7 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.1125, allocations: 33.2 kB / 0.8454 GB, free: 6.969 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.25e-05/0.1126, allocations: 96.28 kB / 0.8455 GB, free: 6.875 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.1127, allocations: 99.47 kB / 0.8456 GB, free: 6.777 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.1128, allocations: 16.75 kB / 0.8456 GB, free: 6.762 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.387e-05/0.1128, allocations: 19.94 kB / 0.8456 GB, free: 6.742 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.061e-05/0.1128, allocations: 36.34 kB / 0.8456 GB, free: 6.707 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.174e-05/0.1129, allocations: 100.2 kB / 0.8457 GB, free: 6.609 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.1131, allocations: 191.2 kB / 0.8459 GB, free: 6.422 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1131, allocations: 0.6875 kB / 0.8459 GB, free: 6.422 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1131, allocations: 0 / 0.8459 GB, free: 6.422 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1131, allocations: 4.656 kB / 0.8459 GB, free: 6.418 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.0006595/0.1137, allocations: 0.4904 MB / 0.8464 GB, free: 5.883 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.1138, allocations: 8.656 kB / 0.8464 GB, free: 5.875 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.547e-05/0.1138, allocations: 25.39 kB / 0.8464 GB, free: 5.852 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.114, allocations: 183.1 kB / 0.8466 GB, free: 5.645 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.114, allocations: 13.23 kB / 0.8466 GB, free: 5.633 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.1141, allocations: 19.89 kB / 0.8466 GB, free: 5.613 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.1143, allocations: 191.6 kB / 0.8468 GB, free: 5.41 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1143, allocations: 0 / 0.8468 GB, free: 5.41 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.1143, allocations: 4.625 kB / 0.8468 GB, free: 5.406 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.1143, allocations: 4 kB / 0.8468 GB, free: 5.402 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.1145, allocations: 147.3 kB / 0.847 GB, free: 5.254 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005341/0.1151, allocations: 490.5 kB / 0.8474 GB, free: 4.742 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.1154, allocations: 165.6 kB / 0.8476 GB, free: 4.566 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.1155, allocations: 99.14 kB / 0.8477 GB, free: 4.461 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.1155, allocations: 0.625 kB / 0.8477 GB, free: 4.461 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002199/0.1157, allocations: 229.9 kB / 0.8479 GB, free: 4.207 MB / 474.8 MB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.1157, allocations: 0 / 0.8479 GB, free: 4.207 MB / 474.8 MB Notification: Performance of matching and sorting (n=21): time 0.0008912/0.1166, allocations: 0.6958 MB / 0.8486 GB, free: 3.449 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.1167, allocations: 141.1 kB / 0.8487 GB, free: 3.281 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.1168, allocations: 219.5 kB / 0.8489 GB, free: 3.059 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.1168, allocations: 33.7 kB / 0.8489 GB, free: 3.02 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.23e-05/0.1169, allocations: 129 kB / 0.8491 GB, free: 2.891 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.1169, allocations: 68.14 kB / 0.8491 GB, free: 2.824 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.483e-05/0.117, allocations: 65.59 kB / 0.8492 GB, free: 2.754 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.889e-05/0.117, allocations: 339.3 kB / 0.8495 GB, free: 2.414 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.1172, allocations: 141.5 kB / 0.8497 GB, free: 2.258 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.1173, allocations: 221.8 kB / 0.8499 GB, free: 1.996 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.1176, allocations: 277.8 kB / 0.8501 GB, free: 1.688 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1176, allocations: 0.5312 kB / 0.8501 GB, free: 1.688 MB / 474.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000349/0.1179, allocations: 398.5 kB / 0.8505 GB, free: 1.27 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.301e-05/0.118, allocations: 71.33 kB / 0.8506 GB, free: 1.188 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.118, allocations: 0.5625 kB / 0.8506 GB, free: 1.188 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.118, allocations: 4 kB / 0.8506 GB, free: 1.184 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.1181, allocations: 52.53 kB / 0.8506 GB, free: 1.133 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.1181, allocations: 4.625 kB / 0.8506 GB, free: 1.129 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.922e-05/0.1182, allocations: 20.61 kB / 0.8507 GB, free: 1.109 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.1182, allocations: 12 kB / 0.8507 GB, free: 1.098 MB / 474.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.0001429/0.1184, allocations: 180.7 kB / 0.8508 GB, free: 0.9102 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.1184, allocations: 23.8 kB / 0.8509 GB, free: 0.8867 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003035/0.1187, allocations: 30.55 kB / 0.8509 GB, free: 0.8516 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1187, allocations: 0 / 0.8509 GB, free: 0.8516 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1187, allocations: 0.5 kB / 0.8509 GB, free: 0.8516 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1187, allocations: 0.5 kB / 0.8509 GB, free: 0.8516 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004733/0.1192, allocations: 0.5405 MB / 0.8514 GB, free: 272 kB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1192, allocations: 0 / 0.8514 GB, free: 272 kB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.1193, allocations: 36.62 kB / 0.8515 GB, free: 236 kB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1193, allocations: 0.6875 kB / 0.8515 GB, free: 236 kB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.1193, allocations: 11.98 kB / 0.8515 GB, free: 224 kB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1193, allocations: 4.531 kB / 0.8515 GB, free: 220 kB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1193, allocations: 0 / 0.8515 GB, free: 220 kB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004434/0.1197, allocations: 498.6 kB / 0.852 GB, free: 15.7 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.44e-05/0.1198, allocations: 19.86 kB / 0.852 GB, free: 15.68 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.1198, allocations: 8.594 kB / 0.852 GB, free: 15.67 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.083e-05/0.1199, allocations: 16.48 kB / 0.852 GB, free: 15.65 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/0.1199, allocations: 24.58 kB / 0.852 GB, free: 15.63 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.1199, allocations: 8 kB / 0.852 GB, free: 15.62 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.464e-05/0.12, allocations: 160.9 kB / 0.8522 GB, free: 15.46 MB / 490.8 MB Notification: Performance of sort global known variables: time 5.1e-08/0.12, allocations: 0.7188 kB / 0.8522 GB, free: 15.46 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001798/0.1202, allocations: 55.94 kB / 0.8522 GB, free: 15.41 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 9.781e-05/0.1203, allocations: 124.9 kB / 0.8524 GB, free: 15.28 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000342/0.1207, allocations: 376 kB / 0.8527 GB, free: 14.87 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1207, allocations: 0.625 kB / 0.8527 GB, free: 14.87 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.1208, allocations: 177.6 kB / 0.8529 GB, free: 14.68 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.1211, allocations: 77.09 kB / 0.853 GB, free: 14.61 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008126/0.1219, allocations: 0.6985 MB / 0.8536 GB, free: 13.96 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.118e-05/0.122, allocations: 125.6 kB / 0.8538 GB, free: 13.82 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.001e-05/0.122, allocations: 27.42 kB / 0.8538 GB, free: 13.8 MB / 490.8 MB Notification: Performance of SimCode: time 3.91e-07/0.122, allocations: 0 / 0.8538 GB, free: 13.8 MB / 490.8 MB Notification: Performance of Templates: time 0.2151/0.3371, allocations: 2.924 MB / 0.8566 GB, free: 29.71 MB / 490.8 MB " [Timeout remaining time 660] 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 > Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M05B_DrugsAffectingBoneStructureAndMineralization.M05BX04_Denosumab.Denosumab_Sutjandra2011_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.64607357699424]