Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD06_Rimegepant.Rimegepant.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.0008816/0.0008816, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001298/0.002179, 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.0007611/0.0007611, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00106/0.001821, 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 1.006/1.006, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1077/1.114, allocations: 53.67 MB / 243.3 MB, free: 15.58 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.7263/0.7263, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06593/0.7923, 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.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD06_Rimegepant.Rimegepant,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD06_Rimegepant.Rimegepant") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD06_Rimegepant.Rimegepant,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD06_Rimegepant.Rimegepant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.5446 GB, free: 30.49 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.882e-05/2.014e-05, allocations: 10.19 kB / 0.5446 GB, free: 30.48 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD06_Rimegepant.Rimegepant): time 0.003942/0.003962, allocations: 3.789 MB / 0.5483 GB, free: 26.67 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005025/0.008987, allocations: 6.892 MB / 0.5551 GB, free: 19.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.009138, allocations: 4 kB / 0.5551 GB, free: 19.77 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.307e-05/0.009231, allocations: 55.42 kB / 0.5551 GB, free: 19.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002511/0.009482, allocations: 174.6 kB / 0.5553 GB, free: 19.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.009662, allocations: 103.8 kB / 0.5554 GB, free: 19.44 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003409/0.01, allocations: 0.5597 MB / 0.5559 GB, free: 18.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.01015, allocations: 97.17 kB / 0.556 GB, free: 18.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00032/0.01047, allocations: 356.4 kB / 0.5564 GB, free: 18.43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.01067, allocations: 167.5 kB / 0.5565 GB, free: 18.26 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.255e-05/0.01072, allocations: 44 kB / 0.5566 GB, free: 18.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.723e-05/0.01076, allocations: 40 kB / 0.5566 GB, free: 18.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.26e-05/0.01081, allocations: 59.75 kB / 0.5567 GB, free: 18.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.01092, allocations: 139.7 kB / 0.5568 GB, free: 17.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002725/0.01119, allocations: 294.9 kB / 0.5571 GB, free: 17.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/0.0112, allocations: 0 / 0.5571 GB, free: 17.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01121, allocations: 0 / 0.5571 GB, free: 17.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.01122, allocations: 0 / 0.5571 GB, free: 17.7 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0007624/0.01198, allocations: 0.7936 MB / 0.5579 GB, free: 16.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.01201, allocations: 12.02 kB / 0.5579 GB, free: 16.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.669e-05/0.01209, allocations: 48.91 kB / 0.5579 GB, free: 16.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.0123, allocations: 230.3 kB / 0.5581 GB, free: 16.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.01232, allocations: 21.03 kB / 0.5582 GB, free: 16.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.124e-05/0.01236, allocations: 40.31 kB / 0.5582 GB, free: 16.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.01263, allocations: 330.4 kB / 0.5585 GB, free: 16.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.01264, allocations: 0 / 0.5585 GB, free: 16.13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.01266, allocations: 8 kB / 0.5585 GB, free: 16.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.01267, allocations: 11.98 kB / 0.5585 GB, free: 16.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.01284, allocations: 204.1 kB / 0.5587 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007632/0.0136, allocations: 0.6478 MB / 0.5594 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2537/0.2673, allocations: 216.2 kB / 0.5596 GB, free: 78.07 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.2675, allocations: 145.5 kB / 0.5597 GB, free: 77.96 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.2675, allocations: 5.594 kB / 0.5597 GB, free: 77.96 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00031/0.2678, allocations: 447.7 kB / 0.5601 GB, free: 77.63 MB / 410.8 MB Notification: Performance of pre-optimization done (n=45): time 2.875e-06/0.2678, allocations: 0 / 0.5601 GB, free: 77.63 MB / 410.8 MB Notification: Performance of matching and sorting (n=48): time 0.001427/0.2692, allocations: 1.14 MB / 0.5613 GB, free: 77.01 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/0.2693, allocations: 387.6 kB / 0.5616 GB, free: 76.57 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.2695, allocations: 265.5 kB / 0.5619 GB, free: 76.46 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.2695, allocations: 41.69 kB / 0.5619 GB, free: 76.43 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.552e-05/0.2696, allocations: 159.1 kB / 0.5621 GB, free: 76.35 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.192e-05/0.2697, allocations: 166 kB / 0.5622 GB, free: 76.27 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.2698, allocations: 96.56 kB / 0.5623 GB, free: 76.26 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.252e-05/0.2698, allocations: 360.8 kB / 0.5627 GB, free: 75.95 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.27, allocations: 190.7 kB / 0.5628 GB, free: 75.81 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.2701, allocations: 326.6 kB / 0.5632 GB, free: 75.52 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000305/0.2704, allocations: 475.4 kB / 0.5636 GB, free: 75.16 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2704, allocations: 2.156 kB / 0.5636 GB, free: 75.16 MB / 410.8 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004265/0.2709, allocations: 0.5053 MB / 0.5641 GB, free: 74.87 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.103e-05/0.2709, allocations: 119.8 kB / 0.5642 GB, free: 74.75 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.2709, allocations: 4.062 kB / 0.5642 GB, free: 74.75 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.271, allocations: 6.531 kB / 0.5642 GB, free: 74.75 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/0.2714, allocations: 153.8 kB / 0.5644 GB, free: 74.74 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.2714, allocations: 8.219 kB / 0.5644 GB, free: 74.74 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.2716, allocations: 23.7 kB / 0.5644 GB, free: 74.74 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.2716, allocations: 17.03 kB / 0.5644 GB, free: 74.74 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: 16 * Number of states: 0 () * Number of discrete variables: 29 (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,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,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 4 * 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.000184/0.2718, allocations: 263.5 kB / 0.5647 GB, free: 74.54 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.032e-05/0.2718, allocations: 49.22 kB / 0.5647 GB, free: 74.54 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.519e-05/0.2719, allocations: 41.14 kB / 0.5648 GB, free: 74.53 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.2719, allocations: 8.109 kB / 0.5648 GB, free: 74.53 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2719, allocations: 0 / 0.5648 GB, free: 74.53 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.272, allocations: 41.53 kB / 0.5648 GB, free: 74.51 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.272, allocations: 17.45 kB / 0.5648 GB, free: 74.51 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.78e-05/0.2721, allocations: 17.75 kB / 0.5648 GB, free: 74.51 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.2722, allocations: 15.95 kB / 0.5649 GB, free: 74.51 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.759e-05/0.2723, allocations: 39.66 kB / 0.5649 GB, free: 74.51 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005708/0.2729, allocations: 0.5074 MB / 0.5654 GB, free: 74.2 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006012/0.2735, allocations: 0.7827 MB / 0.5662 GB, free: 73.7 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001767/0.2736, allocations: 203.2 kB / 0.5663 GB, free: 73.59 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001176/0.2738, allocations: 107.1 kB / 0.5664 GB, free: 73.58 MB / 410.8 MB Notification: Performance of Backend: time 3.41e-07/0.2738, allocations: 1.969 kB / 0.5664 GB, free: 73.58 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0006544/0.2744, allocations: 0.6135 MB / 0.567 GB, free: 73.14 MB / 410.8 MB Notification: Performance of SimCode: time 0.01455/0.289, allocations: 1.589 MB / 0.5686 GB, free: 72.04 MB / 410.8 MB Notification: Performance of Templates: time 0.01122/0.3002, allocations: 7.021 MB / 0.5755 GB, free: 69.96 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD06_Rimegepant.Rimegepant.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD06_Rimegepant.Rimegepant.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD06_Rimegepant.Rimegepant.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD06_Rimegepant.Rimegepant.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD06_Rimegepant.Rimegepant.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD06_Rimegepant.Rimegepant -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD06_Rimegepant.Rimegepant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7868095068261027]