Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_3M_9C.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.001309/0.001309, allocations: 80.16 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001824/0.003133, allocations: 443.9 kB / 10.36 MB, free: 328 kB / 10.45 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.001131/0.001131, allocations: 153.2 kB / 11.25 MB, free: 2.918 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001471/0.002601, allocations: 475.7 kB / 11.72 MB, free: 2.449 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 0.995/0.995, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09585/1.091, allocations: 53.67 MB / 243.3 MB, free: 15.57 MB / 250.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.7597/0.7597, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03174/0.7915, allocations: 21.05 MB / 0.5432 GB, free: 31.95 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.Pharmacokinetic.Models.PK_3M_9C,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_3M_9C") translateModel(Pharmacolibrary.Pharmacokinetic.Models.PK_3M_9C,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_3M_9C") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.5445 GB, free: 30.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.042e-05/3.188e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_3M_9C): time 0.00601/0.006042, allocations: 6.4 MB / 0.5508 GB, free: 24.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002771/0.008813, allocations: 1.445 MB / 0.5522 GB, free: 22.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005039/0.009316, allocations: 12 kB / 0.5522 GB, free: 22.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002186/0.009535, allocations: 150.5 kB / 0.5523 GB, free: 22.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000582/0.01012, allocations: 460.1 kB / 0.5528 GB, free: 22.13 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000417/0.01053, allocations: 263.6 kB / 0.553 GB, free: 21.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007994/0.01133, allocations: 1.493 MB / 0.5545 GB, free: 20.38 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002883/0.01162, allocations: 225.7 kB / 0.5547 GB, free: 20.13 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006551/0.01228, allocations: 0.8893 MB / 0.5556 GB, free: 19.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003374/0.01261, allocations: 462.6 kB / 0.556 GB, free: 18.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.913e-05/0.0127, allocations: 104 kB / 0.5561 GB, free: 18.67 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.01281, allocations: 104 kB / 0.5562 GB, free: 18.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.656e-05/0.01289, allocations: 151.4 kB / 0.5563 GB, free: 18.42 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002449/0.01314, allocations: 368.1 kB / 0.5567 GB, free: 18.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005374/0.01367, allocations: 0.7707 MB / 0.5574 GB, free: 17.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.343e-05/0.01369, allocations: 0 / 0.5574 GB, free: 17.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01369, allocations: 0 / 0.5574 GB, free: 17.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.212e-05/0.01371, allocations: 4 kB / 0.5574 GB, free: 17.29 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.001278/0.01499, allocations: 1.751 MB / 0.5592 GB, free: 15.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.01503, allocations: 19.89 kB / 0.5592 GB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.01516, allocations: 144.8 kB / 0.5593 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2623/0.2774, allocations: 369.3 kB / 0.5597 GB, free: 85.54 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-05/0.2775, allocations: 63.34 kB / 0.5597 GB, free: 85.54 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.2776, allocations: 100.4 kB / 0.5598 GB, free: 85.54 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007734/0.2784, allocations: 0.7847 MB / 0.5606 GB, free: 85.17 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/0.2784, allocations: 13.64 kB / 0.5606 GB, free: 85.17 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.749e-05/0.2784, allocations: 40 kB / 0.5606 GB, free: 85.17 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.2785, allocations: 18.25 kB / 0.5607 GB, free: 85.17 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005193/0.279, allocations: 0.6302 MB / 0.5613 GB, free: 84.84 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001856/0.2808, allocations: 1.124 MB / 0.5624 GB, free: 84.57 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006289/0.2815, allocations: 0.6616 MB / 0.563 GB, free: 84.23 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002624/0.2817, allocations: 457.5 kB / 0.5635 GB, free: 83.91 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.213e-05/0.2818, allocations: 19.53 kB / 0.5635 GB, free: 83.91 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000808/0.2826, allocations: 1.314 MB / 0.5648 GB, free: 82.9 MB / 410.8 MB Notification: Performance of pre-optimization done (n=137): time 3.586e-06/0.2826, allocations: 3.188 kB / 0.5648 GB, free: 82.9 MB / 410.8 MB Notification: Performance of matching and sorting (n=147): time 0.003447/0.286, allocations: 3.421 MB / 0.5681 GB, free: 81.05 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001994/0.2862, allocations: 1.138 MB / 0.5692 GB, free: 79.73 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003355/0.2866, allocations: 453.7 kB / 0.5696 GB, free: 79.6 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.226e-05/0.2866, allocations: 70.7 kB / 0.5697 GB, free: 79.57 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.2867, allocations: 266.8 kB / 0.57 GB, free: 79.41 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/0.2869, allocations: 490.3 kB / 0.5704 GB, free: 79.12 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000223/0.2872, allocations: 254.6 kB / 0.5707 GB, free: 79.1 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.434e-05/0.2872, allocations: 355.1 kB / 0.571 GB, free: 78.8 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002764/0.2875, allocations: 0.559 MB / 0.5716 GB, free: 78.4 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003778/0.2879, allocations: 0.8794 MB / 0.5724 GB, free: 77.6 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006866/0.2886, allocations: 1.342 MB / 0.5737 GB, free: 76.47 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.2886, allocations: 3.031 kB / 0.5737 GB, free: 76.47 MB / 410.8 MB Notification: Performance of matching and sorting (n=212) (initialization): time 0.0009123/0.2895, allocations: 1.418 MB / 0.5751 GB, free: 75.48 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.182e-05/0.2896, allocations: 345.1 kB / 0.5754 GB, free: 75.09 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.2896, allocations: 9.781 kB / 0.5755 GB, free: 75.09 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.721e-05/0.2896, allocations: 16.97 kB / 0.5755 GB, free: 75.09 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009062/0.2905, allocations: 441.9 kB / 0.5759 GB, free: 75 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-05/0.2905, allocations: 24.38 kB / 0.5759 GB, free: 74.99 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004133/0.2909, allocations: 64.5 kB / 0.576 GB, free: 74.98 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.85e-05/0.291, allocations: 46.94 kB / 0.576 GB, free: 74.98 MB / 410.8 MB Warning: Assuming fixed start value for the following 3 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real infusionDose.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: 40 * Number of states: 0 () * Number of discrete variables: 90 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,peripheral2.Cmin,$PRE.peripheral2.Cmin,peripheral2.Cmax,$PRE.peripheral2.Cmax,central_M1.Cmin,$PRE.central_M1.Cmin,central_M1.Cmax,$PRE.central_M1.Cmax,peripheral_M1.Cmin,$PRE.peripheral_M1.Cmin,peripheral_M1.Cmax,$PRE.peripheral_M1.Cmax,peripheral2_M1.Cmin,$PRE.peripheral2_M1.Cmin,peripheral2_M1.Cmax,$PRE.peripheral2_M1.Cmax,central_M2.Cmin,$PRE.central_M2.Cmin,central_M2.Cmax,$PRE.central_M2.Cmax,peripheral_M2.Cmin,$PRE.peripheral_M2.Cmin,peripheral_M2.Cmax,$PRE.peripheral_M2.Cmax,peripheral2_M2.Cmin,$PRE.peripheral2_M2.Cmin,peripheral2_M2.Cmax,$PRE.peripheral2_M2.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,infusionDose.pulse.count,$PRE.infusionDose.pulse.count,infusionDose.pulse.T_start,$PRE.infusionDose.pulse.T_start,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,peripheral2_M2.rising,$PRE.peripheral2_M2.rising,peripheral_M2.rising,$PRE.peripheral_M2.rising,central_M2.rising,$PRE.central_M2.rising,peripheral2_M1.rising,$PRE.peripheral2_M1.rising,peripheral_M1.rising,$PRE.peripheral_M1.rising,central_M1.rising,$PRE.central_M1.rising,peripheral2.rising,$PRE.peripheral2.rising,peripheral.rising,$PRE.peripheral.rising,central.rising,$PRE.central.rising,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 12 * 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.0004362/0.2914, allocations: 0.558 MB / 0.5766 GB, free: 74.5 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.2916, allocations: 133 kB / 0.5767 GB, free: 74.47 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007595/0.2923, allocations: 1.268 MB / 0.5779 GB, free: 73.59 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.699e-06/0.2923, allocations: 10.34 kB / 0.5779 GB, free: 73.58 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.2923, allocations: 1.031 kB / 0.5779 GB, free: 73.58 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002236/0.2926, allocations: 109.6 kB / 0.578 GB, free: 73.52 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.937e-05/0.2926, allocations: 46.91 kB / 0.5781 GB, free: 73.49 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.2927, allocations: 44.22 kB / 0.5781 GB, free: 73.47 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.2929, allocations: 49.16 kB / 0.5782 GB, free: 73.45 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.2931, allocations: 106 kB / 0.5783 GB, free: 73.38 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001139/0.2942, allocations: 1.393 MB / 0.5796 GB, free: 72.42 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001417/0.2956, allocations: 2.038 MB / 0.5816 GB, free: 70.91 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004806/0.2961, allocations: 0.6163 MB / 0.5822 GB, free: 70.47 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0002264/0.2963, allocations: 207.8 kB / 0.5824 GB, free: 70.4 MB / 410.8 MB Notification: Performance of Backend: time 5.21e-07/0.2963, allocations: 0.8438 kB / 0.5824 GB, free: 70.4 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.2977, allocations: 1.689 MB / 0.5841 GB, free: 69 MB / 410.8 MB Notification: Performance of SimCode: time 0.02438/0.3221, allocations: 3.099 MB / 0.5871 GB, free: 66.66 MB / 410.8 MB Notification: Performance of Templates: time 0.02012/0.3422, allocations: 17.83 MB / 0.6045 GB, free: 52.55 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_3M_9C.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_3M_9C.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_3M_9C.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_3M_9C.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_3M_9C.sim & ./Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_3M_9C -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_3M_9C.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.009538585320115]