Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Midazolam.Midazolam_VanRongen_oral.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.0007045/0.0007045, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001883/0.002587, allocations: 443.9 kB / 10.36 MB, free: 332 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.001125/0.001125, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001475/0.0026, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.9878/0.9878, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08465/1.072, allocations: 53.66 MB / 243.3 MB, free: 15.59 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 1.901/1.901, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0463/1.947, allocations: 21.05 MB / 0.5432 GB, free: 31.97 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.Examples.Midazolam.Midazolam_VanRongen_oral,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Midazolam.Midazolam_VanRongen_oral") translateModel(Pharmacolibrary.Examples.Midazolam.Midazolam_VanRongen_oral,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Midazolam.Midazolam_VanRongen_oral") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.5446 GB, free: 30.51 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.565e-05/1.729e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.5 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Midazolam.Midazolam_VanRongen_oral): time 0.002985/0.003002, allocations: 4.178 MB / 0.5487 GB, free: 26.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009283/0.00393, allocations: 0.9166 MB / 0.5496 GB, free: 25.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.00405, allocations: 8 kB / 0.5496 GB, free: 25.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.709e-05/0.004137, allocations: 67.33 kB / 0.5497 GB, free: 25.31 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.004347, allocations: 214.1 kB / 0.5499 GB, free: 25.1 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001542/0.004502, allocations: 115.9 kB / 0.55 GB, free: 24.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000336/0.004838, allocations: 0.6683 MB / 0.5506 GB, free: 24.31 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.004997, allocations: 112.8 kB / 0.5507 GB, free: 24.19 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002752/0.005272, allocations: 416.2 kB / 0.5511 GB, free: 23.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.005488, allocations: 203.4 kB / 0.5513 GB, free: 23.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.047e-05/0.005529, allocations: 44 kB / 0.5514 GB, free: 23.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.577e-05/0.005574, allocations: 48 kB / 0.5514 GB, free: 23.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.051e-05/0.005615, allocations: 71.73 kB / 0.5515 GB, free: 23.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.005724, allocations: 167.7 kB / 0.5516 GB, free: 23.26 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002702/0.005994, allocations: 346.8 kB / 0.552 GB, free: 22.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.012e-05/0.006014, allocations: 0 / 0.552 GB, free: 22.92 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.006016, allocations: 8 kB / 0.552 GB, free: 22.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.00603, allocations: 0 / 0.552 GB, free: 22.91 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.0006358/0.006666, allocations: 0.8933 MB / 0.5529 GB, free: 21.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.285e-05/0.006689, allocations: 11.89 kB / 0.5529 GB, free: 21.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.667e-05/0.006746, allocations: 68.83 kB / 0.5529 GB, free: 21.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.006916, allocations: 234.3 kB / 0.5532 GB, free: 21.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.006935, allocations: 33.31 kB / 0.5532 GB, free: 21.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.368e-05/0.006968, allocations: 40.38 kB / 0.5532 GB, free: 21.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.007219, allocations: 400.5 kB / 0.5536 GB, free: 21.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.007233, allocations: 7.953 kB / 0.5536 GB, free: 21.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.00725, allocations: 16 kB / 0.5536 GB, free: 21.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.007256, allocations: 8 kB / 0.5536 GB, free: 21.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002276/0.007484, allocations: 267.6 kB / 0.5539 GB, free: 20.81 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000909/0.008393, allocations: 0.7899 MB / 0.5547 GB, free: 20 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.008592, allocations: 284.7 kB / 0.5549 GB, free: 19.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.895e-05/0.008671, allocations: 192.6 kB / 0.5551 GB, free: 19.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.008683, allocations: 12 kB / 0.5551 GB, free: 19.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002105/0.008893, allocations: 0.555 MB / 0.5557 GB, free: 18.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=57): time 1.683e-06/0.008895, allocations: 0 / 0.5557 GB, free: 18.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=61): time 0.0009345/0.009829, allocations: 1.443 MB / 0.5571 GB, free: 17.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/0.009893, allocations: 495.1 kB / 0.5576 GB, free: 16.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.01002, allocations: 278.9 kB / 0.5578 GB, free: 16.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.01004, allocations: 45.64 kB / 0.5579 GB, free: 16.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.01008, allocations: 169.5 kB / 0.558 GB, free: 16.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.209e-05/0.01015, allocations: 218.2 kB / 0.5582 GB, free: 15.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.157e-05/0.01023, allocations: 114.6 kB / 0.5583 GB, free: 15.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.559e-05/0.01028, allocations: 370.7 kB / 0.5587 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.01039, allocations: 241.2 kB / 0.5589 GB, free: 15.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.01054, allocations: 398.6 kB / 0.5593 GB, free: 14.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2721/0.2826, allocations: 0.5741 MB / 0.5599 GB, free: 84.27 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.2826, allocations: 0.7812 kB / 0.5599 GB, free: 84.27 MB / 410.8 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0005389/0.2832, allocations: 0.6299 MB / 0.5605 GB, free: 83.93 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.767e-05/0.2832, allocations: 150.5 kB / 0.5606 GB, free: 83.77 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.2832, allocations: 4.188 kB / 0.5606 GB, free: 83.77 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.2833, allocations: 8.547 kB / 0.5606 GB, free: 83.77 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000453/0.2837, allocations: 187.2 kB / 0.5608 GB, free: 83.77 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.2837, allocations: 11.95 kB / 0.5608 GB, free: 83.77 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.2839, allocations: 30.09 kB / 0.5609 GB, free: 83.77 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/0.284, allocations: 25.56 kB / 0.5609 GB, free: 83.77 MB / 410.8 MB Warning: Assuming fixed start value for the following 2 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 37 (peripheral2.Cmin,$PRE.peripheral2.Cmin,peripheral2.Cmax,$PRE.peripheral2.Cmax,peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral2.rising,$PRE.peripheral2.rising,peripheral.rising,$PRE.peripheral.rising,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,central.rising,$PRE.central.rising,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 5 * 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.0002341/0.2842, allocations: 301.7 kB / 0.5612 GB, free: 83.53 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.038e-05/0.2843, allocations: 53.81 kB / 0.5612 GB, free: 83.53 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.31e-05/0.2843, allocations: 51.39 kB / 0.5613 GB, free: 83.53 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.096e-06/0.2843, allocations: 7.469 kB / 0.5613 GB, free: 83.52 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2843, allocations: 0 / 0.5613 GB, free: 83.52 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.2844, allocations: 50.91 kB / 0.5613 GB, free: 83.52 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.2845, allocations: 17.94 kB / 0.5613 GB, free: 83.52 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.268e-05/0.2845, allocations: 24.61 kB / 0.5614 GB, free: 83.52 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.2846, allocations: 19.64 kB / 0.5614 GB, free: 83.52 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.2847, allocations: 46.72 kB / 0.5614 GB, free: 83.52 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005757/0.2853, allocations: 0.6304 MB / 0.562 GB, free: 83.16 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006577/0.286, allocations: 0.944 MB / 0.563 GB, free: 82.57 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001941/0.2861, allocations: 261.7 kB / 0.5632 GB, free: 82.43 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001046/0.2863, allocations: 110.9 kB / 0.5633 GB, free: 82.41 MB / 410.8 MB Notification: Performance of Backend: time 6.11e-07/0.2863, allocations: 0 / 0.5633 GB, free: 82.41 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005503/0.2868, allocations: 0.7558 MB / 0.5641 GB, free: 81.89 MB / 410.8 MB Notification: Performance of SimCode: time 0.01192/0.2987, allocations: 1.757 MB / 0.5658 GB, free: 80.68 MB / 410.8 MB Notification: Performance of Templates: time 0.01023/0.309, allocations: 8.27 MB / 0.5739 GB, free: 78.12 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Midazolam.Midazolam_VanRongen_oral.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Midazolam.Midazolam_VanRongen_oral.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Midazolam.Midazolam_VanRongen_oral.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Midazolam.Midazolam_VanRongen_oral.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Midazolam.Midazolam_VanRongen_oral.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Midazolam.Midazolam_VanRongen_oral -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Examples.Midazolam.Midazolam_VanRongen_oral.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.84809064399451]